I asked about the witr prayer of the Messenger of Allah ﷺ, whether he prayed it at the beginning of the night or at the end. She replied, "He used to do all of that. Sometimes he prayed witr at the beginning of the night, and sometimes at the end."I said, "Praise be to Allah, who has made the matter accommodating."Then I asked, "How was his recitation? Did he recite quietly or aloud?"She replied, "He used to do all of that. Sometimes he recited quietly, and sometimes aloud."I said, "Praise be to Allah, who has made the matter accommodating."Then I asked, "How did he handle the state of major ritual impurity? Did he bathe before sleeping, or sleep before bathing?"She replied, "He used to do all of that. Sometimes he would bathe and then sleep, and sometimes he would perform ablution and sleep."I said, "Praise be to Allah, who has made the matter accommodating."
حدثنا قتيبة حدثنا الليث عن معاوية بن صالح عن عبد الله بن أبي قيس هو رجل بصري قال
عن وتر رسول الله ﷺ كيف كان يوتر من أول الليل أو من آخره فقالت كل ذلك قد كان يصنع ربما أوتر من أول الليل وربما أوتر من آخره فقلت الحمد لله الذي جعل في الأمر سعة فقلت كيف كانت قراءته أكان يسر بالقراءة أم يجهر قالت كل ذلك قد كان يفعل قد كان ربما أسر وربما جهر قال فقلت الحمد لله الذي جعل في الأمر سعة قلت فكيف كان يصنع في الجنابة أكان يغتسل قبل أن ينام أو ينام قبل أن يغتسل قالت كل ذلك قد كان يفعل فربما اغتسل فنام وربما توضأ فنام قلت الحمد لله الذي جعل في الأمر سعة
Muslim also reported it in the chapter on Menstruation, in the section on the permissibility of a person in a state of major ritual impurity sleeping and the recommendation of wudu for him, etc., hadith no. 307, from Qutayba, with the same chain.