Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:378Muḥammad b. ʿAbd al-Raḥīm > Yazīd b. Hārūn > Ḥumayd al-Ṭawīl > Anas b. Mālik

Once Messenger of Allah ﷺ fell off a horse and his leg or shoulder got injured. He swore that he would not go to his wives for one month and he stayed in a Mashruba [??] (attic room) having stairs made of date palm trunks. So his companions came to visit him, and he led them in prayer sitting, whereas his companions were standing. When he finished the prayer, he said, "Imam is meant to be followed, so when he says 'Allahu Akbar,' say 'Allahu Akbar' and when he bows, bow and when he prostrates, prostrate and if he prays standing pray, standing. After the 29th day the Prophet ﷺ came down (from the attic room) and the people asked him, "O Messenger of Allah ﷺ! You swore that you will not go to your wives for one month." He said, "The month is 29 days."  

البخاري:٣٧٨حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الرَّحِيمِ قَالَ حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ قَالَ أَخْبَرَنَا حُمَيْدٌ الطَّوِيلُ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ رَسُولَ اللَّهِ ﷺ سَقَطَ عَنْ فَرَسِهِ فَجُحِشَتْ سَاقُهُ أَوْ كَتِفُهُ وَآلَى مِنْ نِسَائِهِ شَهْرًا فَجَلَسَ فِي مَشْرُبَةٍ لَهُ دَرَجَتُهَا مِنْ جُذُوعٍ فَأَتَاهُ أَصْحَابُهُ يَعُودُونَهُ فَصَلَّى بِهِمْ جَالِسًا وَهُمْ قِيَامٌ فَلَمَّا سَلَّمَ قَالَ إِنَّمَا جُعِلَ الإِمَامُ لِيُؤْتَمَّ بِهِ فَإِذَا كَبَّرَ فَكَبِّرُوا وَإِذَا رَكَعَ فَارْكَعُوا وَإِذَا سَجَدَ فَاسْجُدُوا وَإِنْ صَلَّى قَائِمًا فَصَلُّوا قِيَامًا وَنَزَلَ لِتِسْعٍ وَعِشْرِينَ فَقَالُوا يَا رَسُولَ اللَّهِ إِنَّكَ آلَيْتَ شَهْرًا فَقَالَ إِنَّ الشَّهْرَ تِسْعٌ وَعِشْرُونَ  


See similar narrations below:

Collected by Aḥmad
ahmad:13071Yazīd b. Hārūn > Ḥumayd > Anas

[Machine] The following passage translates into English as: "The Messenger of Allah ﷺ had his foot injured, so he sat in a drinking place made of branches, and he continued in this state for a month. His companions came to visit him, and he led them in prayer while sitting, while they stood. When the next prayer time came, he told them to designate an Imam and that when he prays standing, they should pray standing, but when he prays sitting, they should pray sitting with him. A revelation then came down saying the prayer consists of twenty-nine units. They said, 'O Messenger of Allah, you have stayed for a month.' He replied, 'The month consists of twenty-nine days.'"  

أحمد:١٣٠٧١حَدَّثَنَا يَزِيدُ بْنُ هَارُونَ أَخْبَرَنَا حُمَيْدٌ عَنْ أَنَسٍ

أَنَّ رَسُولَ اللهِ ﷺ انْفَكَّتْ قَدَمُهُ فَقَعَدَ فِي مَشْرُبَةٍ لَهُ دَرَجَتُهَا مِنْ جُذُوعٍ وَآلَى مِنْ نِسَائِهِ شَهْرًا فَأَتَاهُ أَصْحَابُهُ يَعُودُونَهُ فَصَلَّى بِهِمْ قَاعِدًا وَهُمْ قِيَامٌ فَلَمَّا حَضَرَتِ الصَّلَاةُ الْأُخْرَى قَالَ لَهُمْ ائْتَمُّوا بِإِمَامِكُمْ فَإِذَا صَلَّى قَائِمًا فَصَلُّوا قِيَامًا وَإِذَا صَلَّى قَاعِدًا فَصَلُّوا مَعَهُ قُعُودًا قَالَ وَنَزَلَ فِي تِسْعٍ وَعِشْرِينَ قَالُوا يَا رَسُولَ اللهِ إِنَّكَ آلَيْتَ شَهْرًا قَالَ الشَّهْرُ تِسْعٌ وَعِشْرُونَ