‘Abdallah b. az-Zubair said that when God’s Messenger uttered the salutation at the end of his prayer he used to say as loudly as he could. “There is no god but God alone who has no partner. To Him belongs the kingdom, to Him praise is due, and He is omnipotent. There is no might or power except in God. There is no god but God whom alone we worship. To Hirn belongs wealth, to Him belongs grace, and to Him is worthy praise accorded. There is no god but God to whom we are sincere in devotion, even though the infidels should disapprove’ (Al-Qur’an; 40:14).
Al-Mughira b. Shu'ba stated that the Prophet used to say after every prescribed prayer, “There is no god but God alone, who has no partner. To Him belongs the kingdom, to Him praise is due, and He is omnipotent. O God, no one can withhold what Thou givest, or give what Thou withholdest, and riches cannot avail a wealthy person with Thee.”
Sa'd said he used to teach his sons the following words, saying that God’s Messenger was accustomed to use them when committing himself to God’s protection at the end of prayer, “O God, I seek refuge in Thee from cowardice, I seek refuge in Thee from niggardliness, I seek refuge in Thee from the vilest kind of life, I seek refuge in Thee from the seduction of the world and the punishment in the grave.”
Thauban said that when God’s Messenger finished his prayer he asked forgiveness three times and said, “O God, Thou art Peace, and peace comes from Thee. Blessed art Thou, O Possessor of glory and honour.”