Narrated Ibn `Abbas:
حَدَّثَنَا آدَمُ، حَدَّثَنَا شُعْبَةُ، حَدَّثَنَا مَنْصُورٌ، عَنْ سَالِمِ بْنِ أَبِي الْجَعْدِ، عَنْ كُرَيْبٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " لَوْ أَنَّ أَحَدَكُمْ إِذَا أَتَى أَهْلَهُ قَالَ {اللَّهُمَّ} جَنِّبْنِي الشَّيْطَانَ، وَجَنِّبِ الشَّيْطَانَ مَا رَزَقْتَنِي. فَإِنْ كَانَ بَيْنَهُمَا وَلَدٌ لَمْ يَضُرُّهُ الشَّيْطَانُ، وَلَمْ يُسَلَّطْ عَلَيْهِ ". قَالَ وَحَدَّثَنَا الأَعْمَشُ عَنْ سَالِمٍ عَنْ كُرَيْبٍ عَنِ ابْنِ عَبَّاسٍ مِثْلَهُ.
The Prophet (ﷺ) said, "If anyone of you, on having sexual relation with his wife, says: 'O Allah! Protect
me from Satan, and prevent Satan from approaching the offspring you are going to give me,' and if it
happens that the lady conceives a child, Satan will neither harm it nor be given power over it."