Narrator:Abdullah ibn Amr
حَدَّثَنَا إِسْمَاعِيلُ بْنُ بِشْرِ بْنِ مَنْصُورٍ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ مَهْدِيٍّ، عَنْ عَبْدِ اللَّهِ بْنِ الْمُبَارَكِ، عَنْ حَيْوَةَ بْنِ شُرَيْحٍ، قَالَ لَقِيتُ عُقْبَةَ بْنَ مُسْلِمٍ فَقُلْتُ لَهُ بَلَغَنِي أَنَّكَ حَدَّثْتَ عَنْ عَبْدِ اللَّهِ بْنِ عَمْرِو بْنِ الْعَاصِ، عَنِ النَّبِيِّ صلى الله عليه وسلم أَنَّهُ كَانَ إِذَا دَخَلَ الْمَسْجِدَ قَالَ "
أَعُوذُ بِاللَّهِ الْعَظِيمِ وَبِوَجْهِهِ الْكَرِيمِ وَسُلْطَانِهِ الْقَدِيمِ مِنَ الشَّيْطَانِ الرَّجِيمِ "
‘Abdullāh ibn ‘Amr ibn al-‘Ās (may Allah be pleased with him) reported:
When the Prophet (may Allah's peace and blessings be upon him) entered the mosque, he would say: "a‘ūdhu billāhi al-‘azhīm wa biwajhihi al-karīm wa sultānihi al-qadīm min ash-shaytān ar-rajīm" (I seek refuge in Allah, the Majestic, and in His noble Countenance, and in His eternal dominion, from the accursed devil) He said: "Is that all?" I said: 'Yes.' He said: "And when he says that, the devil says: "He is protected from me for the rest of the day."
Reported by Abu Dawud (No. 466).