"الشهر يكون تسعة وعشرين ويكون ثلاثين فإذا رأيتموه فصوموا وإذا رأيتموه فأفطروا فإن غم عليكم فأكملوا العدة "
The Prophet (peace and blessings be upon him) said:
"The month is sometimes twenty-nine days and sometimes thirty days. So when you see it (the moon), fast, and when you see it, stop fasting. And if it is hidden from you, then complete the count."