MUSLIM 1081d:
from Abū Hurayrah —
Observe fast when you see it (the new moon) and break fast when you see it (the new moon of Shawwal), but when (the actual position of the month is) concealed from you (on account of cloudy sky), then count thirty days.
مسلم ١٠٨١d:
عن ابو هريره —
ذَكَرَ رَسُولُ اللَّهِ ﷺ الْهِلاَلَ فَقَالَ إِذَا رَأَيْتُمُوهُ فَصُومُوا وَإِذَا رَأَيْتُمُوهُ فَأَفْطِرُوا فَإِنْ أُغْمِيَ عَلَيْكُمْ فَعُدُّوا ثَلاَثِينَ