عَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ: «إِنَّ اللَّهَ تَعَالَى تَجَاوَزَ عَنْ أُمَّتِي مَا وَسْوَسَتْ بِهِ صُدُورُهَا مَا لم تعْمل بِهِ أَو تَتَكَلَّم»
Translation

He also reported God's messenger as saying, "The cry of an infant at the moment of birth is due to a prick from the devil.” (Bukhari and Muslim.)