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."
حدثنا عمرو بن رافع حدثنا جرير عن منصور عن سالم بن أبي الجعد عن كريب
عن النبي ﷺ قال لو أن أحدكم إذا أتى امرأته قال اللهم جنبني الشيطان وجنب الشيطان ما رزقتني ثم كان بينهما ولد لم يسلط الله عليه الشيطان أو لم يضره
Bukhari transmitted it in the chapter on wudu, in the section on saying the name of Allah on every occasion and at the time of intercourse, hadith no. 141 and elsewhere, and Muslim transmitted it in the chapter on marriage, in the section on what is recommended to say at the time of intercourse, hadith no. 1434, from the hadith of Jareer, with this wording.