Hadithcore
Sahih Muslim, 2366 b
sahih

This hadith has been narrated on the authority of Zuhri with the same chain of transmitters (and the words are):

" The newborn child is touched by the satan (when he comes in the world) and he starts crying because of the touch of satan." In the hadith transmitted on the authority of Shu'aib there is a slight variation of wording.

وَحَدَّثَنِيهِ مُحَمَّدُ بْنُ رَافِعٍ، حَدَّثَنَا عَبْدُ الرَّزَّاقِ، أَخْبَرَنَا مَعْمَرٌ، ح وَحَدَّثَنِي عَبْدُ اللَّهِ، بْنُ عَبْدِ الرَّحْمَنِ الدَّارِمِيُّ حَدَّثَنَا أَبُو الْيَمَانِ، أَخْبَرَنَا شُعَيْبٌ، جَمِيعًا عَنِ الزُّهْرِيِّ، بِهَذَا الإِسْنَادِ وَقَالاَ ‏"‏ يَمَسُّهُ حِينَ يُولَدُ فَيَسْتَهِلُّ صَارِخًا مِنْ مَسَّةِ الشَّيْطَانِ إِيَّاهُ ‏"‏ ‏.‏ وَفِي حَدِيثِ شُعَيْبٍ ‏"‏ مِنْ مَسِّ الشَّيْطَانِ ‏"‏ ‏.‏

References2 variants
In-Book Reference
Book 43, Hadith 192
USC-MSA web (English) reference
Book 30, Hadith 5837 (deprecated numbering scheme)