Abu Hurairah said, "I heard the Messenger of Allah ﷺ say, 'No child of Adam is born without Satan touching him at the moment of his birth, so that he cries out from Satan's touch, except for Maryam and her son.'" Then Abu Hurairah would recite, "And I seek refuge for her in You, and for her offspring, from Satan the accursed" [Al Imran 3:36].
سمعت رسول الله ﷺ يقول: ما من بني آدم مولود إلا يمسه الشيطان حين يولد، فيستهل صارخا من مس الشيطان غير مريم وابنها، ثم يقول أبو هريرة {وإني أعيذها بك وذريتها من الشيطن الرجيم} [آل عمران: ٣٦].
Bukhari narrated it in the chapters on the prophets (3431), and Muslim in the chapter on virtues (2366:146), both through Zuhri, who said, Saeed bin Musayab told me, Abu Hurairah said, and then he mentioned it. This is the wording of Bukhari, and Muslim's wording is similar, containing the phrase, "the jab of Satan." In another wording of his (2367:148), it reads, "The crying of the newborn when it is born is a jab from Satan."Bukhari also narrated it in the chapter on the beginning of creation (3286) with the wording, "Satan pokes every child of Adam with his two fingers in its sides when it is born, except Isa bin Maryam, whom he went to poke, but he ended up poking the veil."And Muslim narrated it in the chapter on predestination (2658:25) with the wording, "Every human being born to his mother is jabbed by Satan in his sides, except Maryam and her son."