Sunan Ibn Majah, Book 5, Hadith 590 (Ibn Majah 1392)

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.