Sunan Ibn Majah · Hadith 629
The Book of Purification and its Sunnah - كتاب الطهارة وسننها
حدثنا أبو مروان العثماني، محمد بن عثمان حدثنا عبد العزيز بن محمد، عن يزيد بن عبد الله بن الهاد، عن عبد الله بن خباب، عن أبي سعيد الخدري، أنه كان تصيبه الجنابة بالليل فيريد أن ينام فأمره رسول الله صلى الله عليه وسلم أن يتوضأ ثم ينام .
It was narrated from Abu Sa'eed Khudri that: He used to become sexually impure at night, then he would want to sleep. The Messenger of Allah told him to perform ablution and then go to sleep.
Gradings are classical jarḥ-wa-taʿdīl, name-matched to a rijāl index (not individually re-verified).