[Machine] The translation of the given phrase is: "The Messenger of Allah ﷺ used to prostrate in gratitude to Allah Almighty whenever something pleasing or joyful came to him."
كَانَ رَسُولُ اللَّهِ ﷺ «إِذَا أَتَاهُ أَمْرٌ يَسُرُّهُ أَوْ يُسَرُّ بِهِ خَرَّ سَاجِدًا شُكْرًا لِلَّهِ ﷻ»