Abdullah bin Abbas reported,

The Messenger of Allah ﷺ said, "If any of you, when approaching his wife, were to say, 'In the name of Allah. O Allah, keep Satan away from me and keep Satan away from what You have provided us,' then if a child were decreed for them from that union, Satan would never harm that child."

Ahmad 1867

Sahih

حدثنا عبد العزيز بن عبد الصمد عن منصور عن سالم بن أبي الجعد الغطفاني عن كريب

عن ابن عباس

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

أحمد 1867صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 1867
Ahmad 1867