Abdullah bin Abbas reported,

The Prophet ﷺ said, "If one of you, when he comes to his wife, says, 'In the name of Allah. Allah, keep Satan away from us and keep Satan away from what You provide us,' and they are then granted a child, Satan will not harm him."

Bukhari 3271

Sahih

حدثنا موسى بن إسماعيل حدثنا همام عن منصور عن سالم بن أبي الجعد عن كريب

عن ابن عباس رضي الله عنهما

عن النبي ﷺ قال أما إن أحدكم إذا أتى أهله وقال بسم الله اللهم جنبنا الشيطان وجنب الشيطان ما رزقتنا فرزقا ولدا لم يضره الشيطان

البخاري 3271صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Beginning of creation
Chapter
Description of Iblis and his soldiers
Numbering
Darussalam 3271
Bukhari 3271