Mishkat al-Masabih
Visions — Hadith #4424
وَعَنِ ابْنِ خُزَيْمَةَ بْنِ ثَابِتٍ عَنْ عَمِّهِ أَبِي خُزَيْمَةَ رَضِيَ اللَّهُ عَنْهُمْ أَنَّهُ رَأَى فِيمَا يَرَى النَّائِمُ أَنَّهُ سَجَدَ عَلَى جَبْهَةِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ فَأَخْبَرَهُ فَاضْطَجَعَ لَهُ وَقَالَ: «صَدِّقْ رُؤْيَاكَ» فَسَجَدَ عَلَى جَبْهَتِهِ. رَوَاهُ فِي شَرْحِ السُّنَّةِ.
Ibn Khuzaima b. Thabit quoted his paternal uncle Aba Khuzaima as saying he had had a dream in which he prostrated himself on the Prophet’s forehead. When he told him he lay down for him and said, “Verify your vision,” so he prostrated himself on his forehead.
It is transmitted in Sharh as-sunna.