Yahya related to me from Malik from Abdullah ibn Dinar from Abdullah ibn Umar that the Messenger of Allah ﷺ said, "A month has twenty-nine days in it. Do not start the fast or break it until you see the new moon. If the new moon is obscured from you, then work out (when it should be)."
أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ الشَّهْرُ تِسْعٌ وَعِشْرُونَ فَلاَ تَصُومُوا حَتَّى تَرَوُا الْهِلاَلَ وَلاَ تُفْطِرُوا حَتَّى تَرَوْهُ فَإِنْ غُمَّ عَلَيْكُمْ فَاقْدُرُوا لَهُ