HAKIM 1539:
from Ibn ʿUmar —
[Machine] The Prophet ﷺ said, "Indeed, Allah has made the sighting of the moon the timing for acts of worship. So, when you spot it, begin fasting, and when you see it again, end the fast. If it is obscured from your view, then estimate it. And know that the months do not exceed thirty days."
الحاكم ١٥٣٩:
عن ابن عمر —
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ «إِنَّ اللَّهَ قَدْ جَعَلَ الْأَهِلَّةَ مَوَاقِيتَ فَإِذَا رَأَيْتُمُوهُ فَصُومُوا وَإِذَا رَأَيْتُمُوهُ فَأَفْطِرُوا فَإِنْ غُمَّ عَلَيْكُمْ فَاقْدُرُوا لَهُ وَاعْلَمُوا أَنَّ الْأَشْهُرَ لَا تَزِيدُ عَلَى ثَلَاثِينَ»
hadithunlocked.com