Sunan Ibn Majah, Volume 2, Book 5, Hadith 1392 (DarusSalam) ⓘ
It was narrated from Anas bin Malik that the Prophet was given glad tidings that a need of his had been met, and he fell down prostrate.
حَدَّثَنَا يَحْيَى بْنُ عُثْمَانَ بْنِ صَالِحٍ الْمِصْرِيُّ، أَنْبَأَنَا أَبِي، أَنْبَأَنَا ابْنُ لَهِيعَةَ، عَنْ يَزِيدَ بْنِ أَبِي حَبِيبٍ، عَنْ عَمْرِو بْنِ الْوَلِيدِ بْنِ عَبْدَةَ السَّهْمِيِّ، عَنْ أَنَسِ بْنِ مَالِكٍ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ بُشِّرَ بِحَاجَةٍ فَخَرَّ سَاجِدًا .
also referenced under: Hadith 1392 (Reference) & Book 5, Hadith 1456 (In-Book)