Musnad Ahmad 1908
حَدَّثَنَا سُفْيَانُ ، عَنْ مَنْصُورٍ ، عَنْ سَالِمٍ ، عَنْ كُرَيْبٍ ، عَنِ ابْنِ عَبَّاسٍ , يَبْلُغُ بِهِ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:" لَوْ أَنَّ أَحَدَهُمْ إِذَا أَتَى أَهْلَهُ، قَالَ: بِسْمِ اللَّهِ، اللَّهُمَّ جَنِّبْنِي الشَّيْطَانَ وَجَنِّبْ الشَّيْطَانَ مَا رَزَقْتَنَا، فَقُضِيَ بَيْنَهُمَا وَلَدٌ مَا ضَرَّهُ الشَّيْطَانُ".
Sufyan narrated to us, from Mansur, from Salim, from Kurayb, from Ibn ʿAbbas, attributing it to the Prophet ﷺ: "If one of them, when he comes to his wife, says: 'In the name of Allah. O Allah, keep the devil away from me, and keep the devil away from what You provide us,' and a child is decreed for them, the devil will not harm him."