In Sunan Abī Dāwūd, ʿĀmir ibn Rabīʿah reported:
A young man from the Ansār sneezed while praying behind the Messenger of Allah (peace and blessings be upon him), and said: “Praise be to Allah—abundant, pure and blessed praise, until our Lord is pleased and after He is pleased, concerning the affairs of this world and the Hereafter.” When the Messenger of Allah (peace and blessings be upon him) finished praying, he asked: “Who said those words?” The young man remained silent. Then he asked again: “Who said those words? He said nothing wrong.” The young man replied: “O Messenger of Allah, I said them, intending nothing but good.” [He said] (1): “They did not stop short of the Throne of the Most Merciful—exalted be His mention.” (2)
In the Musnad of Imam Ahmad, Wāʾil ibn Hujr reported:
I prayed with the Messenger of Allah (peace and blessings be upon him), and a man said: “Praise be to Allah—abundant, pure and blessed praise.” When the Messenger of Allah (peace and blessings be upon him) finished praying, he asked: “Who said that?” The man replied: “I did, O Messenger of Allah, and I intended nothing but good.” He said: “The gates of heaven were indeed opened for those words, and they were not