It was narrated from Abu Bakrah that when the Prophet (ﷺ) heard news that made him happy, or for which one should be happy, he would fall down prostrate in gratitude to Allah, the Blessed and Exalted.
Hadith ReferenceSunan Ibn Majah / Establishing the Prayer and the Sunnah Regarding Them / Hadith: 1394
Hadith Gradingالألبانی:حسن | زبیر علی زئی:إسناده حسن