Abdullah bin Abbas reported,

The Prophet ﷺ said, "If one of you, when he comes to his wife, says, 'Allah, keep Satan away from me and keep Satan away from what You grant me,' and a child is then born to them, Allah will not give Satan power over that child," or he said, "Satan will not harm him."

Ibn Majah 1919

Sahih

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

عن ابن عباس

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

ابن ماجه 1919صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Marriage
Chapter
What a man should say when his wife comes to him
Numbering
Darussalam 1919
Ibn Majah 1919