Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bayhaqi:2355Abū ʿAlī al-Rūdhbārī > Abū Bakr b. Dāsah > Abū Dāwud > ʿAbd al-Salām b. Muṭahhar > Jaʿfar b. Sulaymān > ʿAlī b. ʿAlī al-Rifāʿī > Abū al-Mutawakkil al-Nājī > Abū Saʿīd al-Khudrī

[Machine] The Messenger of Allah ﷺ used to say when he would rise from sleep at night, "Subhanakallahumma wa bihamdik, Allahumma ghfir li." Then he would say, "I seek refuge in Allah, the All-Hearing, the All-Knowing, from the cursed Satan, from his madness, evil, and blowing." Then he would recite the following, narrated to us by Abdullah bin Mas'ud, in a raised and standing voice.  

البيهقي:٢٣٥٥وَأَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ أَبُو بَكْرِ بْنُ دَاسَةَ ثنا أَبُو دَاوُدَ ثنا عَبْدُ السَّلَامِ بْنُ مُطَهَّرٍ ثنا جَعْفَرُ بْنُ سُلَيْمَانَ عَنْ عَلِيِّ بْنِ عَلِيٍّ الرِّفَاعِيِّ عَنْ أَبِي الْمُتَوَكِّلِ النَّاجِيِّ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ ؓ قَالَ

كَانَ رَسُولُ اللهِ ﷺ إِذَا قَامَ مِنَ اللَّيْلِ كَبَّرَ فَذَكَرَ اسْتِفْتَاحَهُ بِسُبْحَانَكَ اللهُمَّ وَبِالتَّهْلِيلِ وَالتَّكْبِيرِ بَعْدَهُ ثَلَاثًا أَعُوذُ بِاللهِ السَّمِيعِ الْعَلِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ مِنْ هَمْزِهِ وَنَفْخِهِ وَنَفْثِهِ ثُمَّ يَقْرَأُ وَرُوِّينَاهُ عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ مَرْفُوعًا وَمَوْقُوفًا  


See similar narrations below:

Collected by Abū Dāwūd, Aḥmad's Zuhd
abudawud:775ʿAbd al-Salām b. Muṭahhar > Jaʿfar > ʿAlī b. ʿAlī al-Rifāʿī > Abū al-Mutawakkil al-Nājī > Abū Saʿīd al-Khudrī

When the Messenger of Allah ﷺ got up to pray at night (for tahajjud prayer) he uttered the takbir and then said: "Glory be to Thee, O Allah," and "Praise be to Thee" and "Blessed is Thy name," and Exalted is Thy greatness." and "There is no god but Thee." He then said: "There is no god but Allah" three times; he then said: "Allah is altogether great" three times: "I seek refuge in Allah, All-Hearing and All-Knowing from the accursed devil, from his evil suggestion (hamz), from his puffing up (nafkh), and from his spitting (nafth)" He then recited (the Qur'an). Abu Dawud said: It is said that this tradition has been narrated by 'Ali b. 'Ali from al-Hasan omitting the name of the Companion of the Prophet ﷺ. The misunderstanding occurred on the part of Ja'far.  

أبو داود:٧٧٥حَدَّثَنَا عَبْدُ السَّلاَمِ بْنُ مُطَهَّرٍ حَدَّثَنَا جَعْفَرٌ عَنْ عَلِيِّ بْنِ عَلِيٍّ الرِّفَاعِيِّ عَنْ أَبِي الْمُتَوَكِّلِ النَّاجِيِّ عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ قَالَ

كَانَ رَسُولُ اللَّهِ ﷺ إِذَا قَامَ مِنَ اللَّيْلِ كَبَّرَ ثُمَّ يَقُولُ سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ وَتَبَارَكَ اسْمُكَ وَتَعَالَى جَدُّكَ وَلاَ إِلَهَ غَيْرُكَ ثُمَّ يَقُولُ لاَ إِلَهَ إِلاَّ اللَّهُ ثَلاَثًا ثُمَّ يَقُولُ اللَّهُ أَكْبَرُ كَبِيرًا ثَلاَثًا أَعُوذُ بِاللَّهِ السَّمِيعِ الْعَلِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ مِنْ هَمْزِهِ وَنَفْخِهِ وَنَفْثِهِ ثُمَّ يَقْرَأُ  

قَالَ أَبُو دَاوُدَ وَهَذَا الْحَدِيثُ يَقُولُونَ هُوَ عَنْ عَلِيِّ بْنِ عَلِيٍّ عَنِ الْحَسَنِ مُرْسَلاً الْوَهَمُ مِنْ جَعْفَرٍ
ahmad-zuhd:1270ʿAbdullāh > ʿAlī b. Muslim > Sayyār > Jaʿfar b. Sulaymān > ʿAlī b. ʿAlī al-Rifāʿī > Abū al-Mutawakkil al-Nājī > Abū Saʿīd al-Khudrī

When the Messenger of Allah ﷺ got up to pray at night (for tahajjud prayer) he uttered the takbir and then said: "Glory be to Thee, O Allah," and "Praise be to Thee" and "Blessed is Thy name," and Exalted is Thy greatness." and "There is no god but Thee." He then said: "There is no god but Allah" three times; he then said: "Allah is altogether great" three times: "I seek refuge in Allah, All-Hearing and All-Knowing from the accursed devil, from his evil suggestion (hamz), from his puffing up (nafkh), and from his spitting (nafth)" He then recited (the Qur'an). Abu Dawud said: It is said that this tradition has been narrated by 'Ali b. 'Ali from al-Hasan omitting the name of the Companion of the Prophet ﷺ. The misunderstanding occurred on the part of Ja'far. (Using translation from Abū Dāʾūd 775)   

الزهد لأحمد:١٢٧٠حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي عَلِيُّ بْنُ مُسْلِمٍ حَدَّثَنَا سَيَّارٌ حَدَّثَنَا جَعْفَرُ بْنُ سُلَيْمَانَ حَدَّثَنَا عَلِيُّ بْنُ عَلِيٍّ الرِّفَاعِيُّ حَدَّثَنَا أَبُو الْمُتَوَكِّلِ النَّاجِيُّ حَدَّثَنَا أَبُو سَعِيدٍ الْخُدْرِيُّ قَالَ

كَانَ رَسُولُ اللَّهِ ﷺ إِذَا قَامَ مِنَ اللَّيْلِ رَفَعَ يَدَيْهِ وَكَبَّرَ ثُمَّ قَالَ سُبْحَانَكَ اللَّهُمَّ وَبِحَمْدِكَ وَتَبَارَكَ اسْمُكَ وَتَعَالَى جَدُّكَ وَلَا إِلَهَ غَيْرُكَ اللَّهُ أَكْبَرُ ثَلَاثًا لَا إِلَهَ إِلَّا اللَّهُ ثَلَاثًا أَعُوذُ بِاللَّهِ السَّمِيعِ الْعَلِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ مِنْ هَمْزِهِ وَنَفْثِهِ وَنَفْخِهِ