It is narrated from Sayyiduna Jubayr bin Mut'im (may Allah be pleased with him) that when the Prophet (peace and blessings be upon him) began the prayer, after saying the takbir he would say: "'Allahu akbaru kabiran, wa al-hamdu lillahi kathiran, wa subhana Allahi bukratan wa asila' (Allah is the Greatest, truly great; much praise be to Allah; and glory be to Allah morning and evening), saying each phrase three times, then: 'A'udhu billahi min al-shaytani al-rajim: min nafkhihi wa nafthihi wa hamzih' (I seek refuge with Allah Almighty from Satan the accursed, from his whisperings, from the wind of arrogance and from the hissing of magic)."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2353
(a) In another chain, Abu al-Walid narrates a similar hadith from Shu'bah; in it is that he (peace and blessings be upon him) said: 'Allahumma inni a'udhu bika min al-shaytani al-rajim' (O Allah, I seek refuge with You from Satan the accursed).
(b) He added that Amr said: By nafkh is meant arrogance, by hamz is meant madness, and by nafth is meant composing poetry.
(c) Through another chain the hadith of Abu Dawud is also like this; in it, along with the hadith, there is an addition of some explanation, but he did not attribute it to Amr; rather, he said that someone asked him: What is meant by hamz? He said: The fainting and madness that comes over the son of Adam. Someone asked: What is nafkh? He said: Arrogance. Then someone asked: What is meant by nafth? He told them: Poetry.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2354
It is narrated from Sayyiduna Abu Sa'id al-Khudri (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) stood for prayer at night, he would say the takbir, then begin the prayer with 'Subhanaka Allahumma wa bihamdik'. After that he would say 'La ilaha illallah' and 'Allahu akbaru kabira' three times each. After that: 'A'udhu billahi al-sami'i al-'alimi min al-shaytani al-rajimi min hamzihi wa nafkhihi wa nafthih' (I seek refuge with Allah, the All-Hearing and All-Knowing, from Satan the accursed, and I also seek refuge from his whispering, his arrogance and the puffing of magic). Then he would begin the recitation.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2355
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that when the Messenger of Allah (peace and blessings be upon him) began the prayer, he would recite; and in the hadith of Warqa' it is that the Messenger of Allah (peace and blessings be upon him) used to teach us to say: 'Allahumma inni a'udhu bika min al-shaytani al-rajimi wa hamzihi wa nafkhihi wa nafthih' (O Allah, I seek refuge with You from Satan the accursed, from his whispering, from arrogance and from the puffing of magic).
Ata said: By hamz is meant madness, by nafth is meant poetry, and by nafkh is meant pride and arrogance.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2356
Hadith Gradingمحدثین:ضعيف
Hadith Takhrij«ضعيف۔ اخرجه محمد بن فضيل في الدعاء 119»
It is reported from Sayyiduna Ibn Mas'ud (may Allah be pleased with him) that in prayer he used to seek refuge with Allah Almighty from the whisperings of Satan the accursed, from his arrogance and from the puffing of his magic.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2357
It is narrated from al-Aswad bin Yazid that when Sayyiduna Umar bin al-Khattab (may Allah be pleased with him) began the prayer, he would say: 'Allahu akbar', then he would say: 'Subhanaka Allahumma wa bihamdika, tabaraka ismuka, wa ta'ala jadduka, wa la ilaha ghayruk' (O Allah, You are free of all imperfection and I remember You with Your praise; Your name is blessed, Your majesty is exalted, and there is no true god besides You).
Then he would seek refuge with Allah from Satan the accursed, then he would recite whatever he wished of the Qur'an.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 2358