Abd Allah b. Abi Awfa said: When the Messenger of Allah ﷺ raised his head after bowing, he said: Allah listens to him who praises Him. O Allah, our lord, to Thee be the praise in the heavens and in all the earth, and all that it please Thee to create afterwards. Abu Dawud said: Sufyan al-Thawri and Shu’bah b. al-Hajjaj reported on authority of Ubaid b. al-Hasan: There is no mention of the words "after bowing" in this tradition. Sufyan said: we met al-shaikh 'Ubaid b. al-Hasan; he did not say the words "bowing" in it. Abu dawud said: Shu’bah narrated this from Abi 'Ismah, from al-A’mash, on the authority of 'Ubaid, saying: "after bowing".
The Prophet Muhammad ﷺ taught his followers to be grateful for all their blessings from Allah by praising him after they finish their prayers or bowings in salat as a way of showing their appreciation for His mercy and kindness towards them. By doing this regularly, it will help remind them how blessed they are with all the gifts they have been given from God Almighty and encourage them to continue worshipping Him faithfully throughout their lives so that they may receive even more rewards from Him on Judgment Day InshaAllah!