[Machine] Hurayrah, while leading the people in prayer, would raise his voice and say, "Our Lord, we seek refuge in You from the accursed Satan." Abu Sa'eed added in his narration: "Al-Shafi'i, may Allah have mercy on him, said that Ibn 'Umar used to seek refuge in himself, and whichever one of them a person did, it would suffice. Some of them used to seek refuge when starting the recitation before 'Umm al-Qur'an (i.e., Al-Fatiha). And that is what I say." The Shaykh, may Allah have mercy on him, said: "The narrations concerning this topic before this one indicate that seeking refuge is done before recitation." Al-Shafi'i, may Allah have mercy on him, also said that it is to be said in the first raka'ah. The Shaykh, may Allah have mercy on him, said: "Al-Hasan, 'Ata', and Ibrahim al-Nakha'i said that he said it before 'Umm al-Qur'an in every raka'ah, so it is good." The Shaykh, may Allah have mercy on him, also said: "It is narrated from Ibn Sirin that he used to seek refuge in every raka'ah."
هُرَيْرَةَ ؓ وَهُوَ يَؤُمُّ النَّاسَ رَافِعًا صَوْتَهُ رَبَّنَا إِنَّا نَعُوذُ بِكَ مِنَ الشَّيْطَانِ الرَّجِيمِ فِي الْمَكْتُوبَةِ إِذَا فَرَغَ مِنْ أُمِّ الْقُرْآنِ زَادَ أَبُو سَعِيدٍ فِي رِوَايَتِهِ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ وَكَانَ ابْنُ عُمَرَ ؓ يَتَعَوَّذُ فِي نَفْسِهِ وَأَيُّهُمَا فَعَلَ الرَّجُلُ أَجْزَأَهُ وَكَانَ بَعْضُهُمْ يَتَعَوَّذُ حِينَ يَفْتَتِحُ قَبْلَ أُمِّ الْقُرْآنِ وَبِذَلِكَ أَقُولُ قَالَ الشَّيْخُ رَحِمَهُ اللهُ وَالْأَحَادِيثُ فِي الْبَابِ قَبْلَهُ تَدُلُّ عَلَى أَنَّهُ يَتَعَوَّذُ قَبْلَ الْقِرَاءَةِ قَالَ الشَّافِعِيُّ رَحِمَهُ اللهُ وَيَقُولُهُ فِي أَوَّلِ رَكْعَةٍ قَالَ الشَّيْخُ رَحِمَهُ اللهُ وَبِهِ قَالَ الْحَسَنُ وَعَطَاءٌ وَإِبْرَاهِيمُ النَّخَعِيُّ قَالَ الشَّافِعِيُّ وَقَدْ قِيلَ إِنَّهُ قَالَهُ حِينَ يَفْتَتِحُ كُلَّ رَكْعَةٍ قَبْلَ أُمِّ الْقُرْآنِ فَهُوَ حَسَنٌ قَالَ الشَّيْخُ رَحِمَهُ اللهُ وَيُحْكَى عَنِ ابْنِ سِيرِينَ أَنَّهُ كَانَ يَسْتَعِيذُ فِي كُلِّ رَكْعَةٍ