Abu Bakrah reported: The Prophet, peace and blessings be upon him, if he received good news or something pleasing, he would fall down in prostration from gratitude to Allah.
Source: Sunan Abī Dāwūd 2774
Grade: Sahih (authentic) according to Al-Albani
عَنْ أَبِي بَكْرَةَ عَنِ النَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ كَانَ إِذَا جَاءَهُ أَمْرُ سُرُورٍ أَوْ بُشِّرَ بِهِ خَرَّ سَاجِدًا شَاكِرًا لِلَّهِ
2774 سنن أبي داود كتاب الجهاد باب في سجود الشكر
2774 المحدث الألباني خلاصة حكم المحدث صحيح في صحيح أبي داود