It is narrated from Sayyidah Aishah (may Allah be pleased with her) that she said: "When the Messenger of Allah (peace and blessings be upon him) passed away and the people intended to wash him (peace and blessings be upon him), such a sleep was cast upon them that the hand of each one of them was at his chin. Then a call came from one corner of the house: 'Wash him (peace and blessings be upon him) over his clothes.'" Sayyidah Aishah (may Allah be pleased with her) said: "Had I known beforehand what I came to know afterwards about my affair, no one but his wives would have washed the Prophet (peace and blessings be upon him)."
The wording of Abu Ya'la's narration is that Sayyidah Aishah (may Allah be pleased with her) said: "When the people intended to wash the Messenger of Allah (peace and blessings be upon him), they differed among themselves and said: 'By Allah, we do not know what we should do. Should we remove the clothes of the Messenger of Allah (peace and blessings be upon him) as we remove the clothes of our ordinary dead, or should we wash him (peace and blessings be upon him) with his clothes on?'" She said: "When they differed, Allah Almighty cast drowsiness upon them, until, by Allah, every one of them, standing, had his chin dropped upon his chest. Then someone spoke to them from one side of the house, and they did not know who he was. He said: 'Wash the Messenger of Allah (peace and blessings be upon him) with his clothes on.'" She said: "So they rose towards him (peace and blessings be upon him) and washed the Messenger of Allah (peace and blessings be upon him) while he (peace and blessings be upon him) was wearing his shirt; water and lote-tree leaves were poured over him (peace and blessings be upon him), and the men rubbed him (peace and blessings be upon him) over the shirt itself." She used to say: "Had I known beforehand about my affair" (and then the earlier statement was mentioned).
Abu Dawud al-Tayalisi, Abu Ya'la, Imam al-Shafi'i in his Musnad, Ibn al-Jarud, Ibn Hibban in his Sahih, al-Hakim and al-Bayhaqi recorded it, while Ibn Majah recorded only the last statement of Sayyidah Aishah (may Allah be pleased with her), "Had I known beforehand", and did not mention the rest of the story.
Hadith Takhrij«أخرجه سنن أبي داود برقم: 3141، وأخرجه مسند أحمد برقم: 25774، وأخرجه المستدرك على الصحيحين برقم: 4454، وأخرجه صحيح ابن حبان برقم: 6628، 6627، وأخرجه السنن الصغير للبيهقي برقم: 1023، وأخرجه سنن ابن ماجه برقم: 1464، وأخرجه مسند الإمام الشافعي برقم: 563»