It is narrated from a Companion, who says: I have remembered this for you, that the Messenger of Allah, peace and blessings be upon him, performed ablution in the mosque.
It is narrated from Sayyida Aisha (may Allah be pleased with her), she says: When the Messenger of Allah (peace and blessings be upon him) intended to sleep while he was in a state of janabah, he would perform ablution as for prayer.
. (Second chain) When the Messenger of Allah, peace and blessings be upon him, intended to sleep, he would perform ablution as for prayer and then sleep.
It is narrated from Sayyiduna Bara’ bin Azib (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When you go to your bed, perform ablution, lie on your right side, and recite this supplication: “O Allah, I have submitted my face to You…” .