حَدَّثَنَا أَبُو بَكْرٍ يَعْقُوبُ بْنُ إِبْرَاهِيمَ الْبَزَّازُ ، ثنا عُمَرُ بْنُ شَبَّةَ ، ثنا عُمَرُ بْنُ عَلِيٍّ الْمُقَدَّمِيُّ ، أَخْبَرَنِي الْحَجَّاجُ ، عَنْ مَنْصُورٍ ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ ، أَنّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ ، قَالَ : " صُومُوا لِرُؤْيَتِهِ وَأَفْطِرُوا لِرُؤْيَتِهِ ، فَإِنْ غُمَّ عَلَيْكُمْ فَعُدُّوا شَعْبَانَ ثَلاثِينَ يَوْمًا ثُمَّ صُومُوا ، فَإِنْ غُمَّ عَلَيْكُمْ فَعُدُّوا رَمَضَانَ ثَلاثِينَ يَوْمًا ثُمَّ أَفْطِرُوا ، إِلا أَنْ تَرَوْهُ قَبْلَ ذَلِكَ " .
Sayyiduna Rubayyi narrates: The Noble Prophet (peace and blessings be upon him) said: “Begin fasting (for Ramadan) upon sighting it (the new moon), and end the fast (with Eid al-Fitr) upon sighting it. If it is cloudy, then complete the count of thirty days of Sha’ban, then begin fasting. And if (on the last day of Ramadan) it is cloudy, then complete thirty days of Ramadan, and then end the fast, except in the case that you see the new moon before that (i.e., if you see the new moon after twenty-nine days).” This narration is also transmitted with some other chains.