If (the sky) is cloudy for you, then calculate thirty days (for the month of Ramadan).

Sahih Muslim Book 13 Hadith 6

Sahih Muslim #1080 c

The Book of Fasting 13:6

This hadith is narrated on the authority of 'Ubaidullah with the same chain of transmitters, and he said:

If (the sky) is cloudy for you, then calculate thirty days (for the month of Ramadan).

Chapter: The obligation to fast Ramadan when the crescent is sighted, and to break the fast when the crescent is sighted, and that if it is cloudy at the beginning or end of the month, then the month should be completed as thirty days.

Grade: Sahih