Mishkat al-Masabih 1250
عَنْ أَبِي أُمَامَةَ قَالَ: سَمِعْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «مَنْ أَوَى إِلَى فِرَاشِهِ طَاهِرًا وَذَكَرَ اللَّهِ حَتَّى يُدْرِكَهُ النُّعَاسُ لَمْ يَتَقَلَّبْ سَاعَةً مِنَ اللَّيْلِ يَسْأَلُ اللَّهَ فِيهَا خَيْرًا مِنْ خَيْرِ الدُّنْيَا وَالْآخِرَةِ إِلَّا أَعْطَاهُ إِيَّاهُ» . ذَكَرَهُ النَّوَوِيُّ فِي كِتَابِ الْأَذْكَارِ بِرِوَايَةِ ابْنِ السّني
From Abu Umamah, who said: I heard the Prophet ﷺ say: "Whoever goes to his bed in a state of purity and remembers Allah until drowsiness overtakes him, he will not turn over at any hour of the night asking Allah in it for some good of this world and the Hereafter except that He gives it to him." An-Nawawi mentioned it in Kitab al-Adhkar in the narration of Ibn as-Sunni.