Jāmiʿal-Akhbār:

The Prophet صلى الله عليه وآله said: When a teacher says to a young child – “Say In the name of Allāh, The Entirely Merciful, The Especially Merciful (Bismillah al-Raḥmān al-Raḥīm)”, whereupon the young child says In the name of Allāh, The Entirely Merciful, The Especially Merciful (Bismillah al-Raḥmān al-Raḥīm), Allāh will prescribe for the young child, his parents, and the teacher, a clearance (barā’ah) from the Fire.

وقال النبي ( صلى الله عليه وآله ) : إذا قال المعلم للصبي : [ قل : ] * ( بِسْمِ اللَّه الرَّحْمنِ الرَّحِيمِ ) * [ فقال الصبي : * ( بِسْمِ اللَّه الرَّحْمنِ الرَّحِيمِ ) * ] كتب الله براءة للصبي ، وبراءة لأبويه ، وبراءة للمعلم [ من النار ]