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 Referenceسنن ابن ماجه / كتاب إقامة الصلاة والسنة / 1394
Hadith Gradingالألبانی:حسن | زبیر علی زئی:إسناده حسن