أَخْبَرَنَا أَبُو عَبْدِ اللَّهِ الْحَافِظُ ، حَدَّثَنَا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ، حَدَّثَنَا مُحَمَّدُ بْنُ إِسْحَاقَ ، حَدَّثَنَا يُونُسُ بْنُ مُحَمَّدٍ ، حَدَّثَنَا حَمَّادُ بْنُ سَلَمَةَ ، عَنْ أَشْعَثَ بْنِ عَبْدِ الرَّحْمَنِ ، عَنْ أَبِي قِلَابَةَ ، عَنْ أَبِي الْأَشْعَثِ الصَّنْعَانِيِّ ، عَنِ النُّعْمَانِ بْنِ بَشِيرٍ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ : " إِنَّ اللَّهَ عَزَّ وَجَلَّ ، كَتَبَ كِتَابًا قَبْلَ أَنْ يَخْلُقَ السَّمَاوَاتِ وَالْأَرْضَ بِأَلْفَيْ عَامٍ فَأَنْزَلَ مِنْهُ آيَتَيْنِ خَتَمَ بِهِمَا سُورَةَ الْبَقَرَةِ فَلَا تُقْرَآنِ فِي دَارٍ ثَلَاثَ لَيَلٍ فَيَقْرَبَهَا شَيْطَانٌ " .
It is narrated from Sayyiduna al-Nu'man bin Bashir (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) said: "Indeed Allah, the Mighty and Majestic, wrote a book two thousand years before He created the heavens and the earth, and He revealed from it two verses with which He concluded Surah al-Baqarah. In whichever house these two verses are recited for three nights, Satan does not come near it."
Related hadith on this topic