He saw the Messenger of Allah ﷺ praying a prayer. Amr said, "I do not know which prayer it was." He said, "Allah is the Greatest, supremely great, Allah is the Greatest, supremely great, Allah is the Greatest, supremely great. Much praise belongs to Allah, much praise belongs to Allah, much praise belongs to Allah. Glory be to Allah morning and evening," three times. "I seek refuge in Allah from Satan, from his puffing, his spitting, and his prodding."He explained that his spitting is poetry, his puffing is arrogance, and his prodding is madness.
حدثنا عمرو بن مرزوق أخبرنا شعبة عن عمرو بن مرة عن عاصم العنزي
أنه رأى رسول الله ﷺ يصلي صلاة قال عمرو لا أدري أي صلاة هي فقال الله أكبر كبيرا الله أكبر كبيرا الله أكبر كبيرا والحمد لله كثيرا والحمد لله كثيرا والحمد لله كثيرا وسبحان الله بكرة وأصيلا ثلاثا أعوذ بالله من الشيطان من نفخه ونفثه وهمزه قال نفثه الشعر ونفخه الكبر وهمزه الموتة
[Its isnad is hasan] Ibn Majah narrated it, Establishment of Prayers, Chapter on Seeking Refuge During Prayer, no. 807, from the hadith of Shubah with this wording. Ibn Hibban graded it sahih, no. 443, 444, as did Ibn Jarud, no. 180, and Hakim, 1/235, and Dhahabi agreed with him.