Al-Bukhari reported: Ibn Abbas, may Allah be pleased with him, said, “When a person is born, Satan remains hidden from him. If one remembers Allah Almighty, he will leave. If one does not remember Allah, he will remain fixed over his heart.”
Source: Ṣaḥīḥ al-Bukhārī 6/181
Grade: Sahih (authentic) according to Al-Bukhari
عَنْ البخاري عَنْ ابْنِ عَبَّاسٍ رضي الله عنه إِذَا وُلِدَ خَنَسَهُ الشَّيْطَانُ فَإِذَا ذُكِرَ اللَّهُ عَزَّ وَجَلَّ ذَهَبَ وَإِذَا لَمْ يَذْكُرِ اللَّهَ ثَبَتَ عَلَى قَلْبِهِ
6/181 صحيح البخاري كتاب تفسير القرآن سورة قل أعوذ برب الناس