It was narrated from Abu Bakrah that when the Prophet (peace be upon him) 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.
Sunnan Ibn Majah, Vol. 1, Book 5, Hadith 1458