It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) swore to stay away from his wives for a month and stayed in an upper room of his. (During this time) his (peace and blessings be upon him) blessed foot was sprained, so the Companions (may Allah be pleased with them) came to visit him (peace and blessings be upon him), and he (peace and blessings be upon him) led them in prayer sitting while they were standing. Then when they came for another prayer, he (peace and blessings be upon him) sat and they stood, so he (peace and blessings be upon him) gestured to them: "Sit down." So they prayed behind him (peace and blessings be upon him) sitting. Then when twenty-nine nights had passed, he (peace and blessings be upon him) came down, and it was said to him (peace and blessings be upon him): O Messenger of Allah (peace and blessings be upon him)! Only twenty-nine nights have passed? He (peace and blessings be upon him) said: "The month is (also) twenty-nine (days)."
Hadith Referenceمسند أبي يعلى الموصلي / مسند أنس بن مالك / 3825
Hadith Gradingمحدثین:رجاله رجال الصحيح غير إبراهيم بن الحجاج وهو ثقة والحديث صحيح
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: رجاله رجال الصحيح غير إبراهيم بن الحجاج وهو ثقة والحديث صحيح . » «قال سعيد بن محمد السناري: صحيح: مضى بسياق أخصر من هذا [برقم 3728]» «أخرجه صحيح البخاري برقم: 371، وأخرجه سنن الترمذي برقم: 361، وأخرجه مسند أحمد برقم: 12658، وأخرجه موطأ مالك برقم: 306، وأخرجه فتح الباري برقم: 617، 655، 656، 657، 685، 689، 690، 691، 692، 699، 709، 716، 762، 763، 794، 3673، وأخرجه مسند البزار برقم: 1772، وأخرجه مصنف عبد الرزاق برقم: 2909، 4078، وأخرجه المستدرك على الصحيحين برقم: 818، 823، وأخرجه صحيح ابن خزيمة برقم: 1716، وأخرجه المعجم الأوسط للطبراني برقم: 478، 2123، 3649، 5267، 8878، 9005، مسند ابویعلیٰ ترقیم الاثری: 3813»