Yazid bin Hurmuz reported,

Najdah wrote to Ibn Abbas asking him about killing children. Ibn Abbas wrote back to him, "You have written asking me about killing children. The Messenger of Allah ﷺ did not kill them, so you must not kill them either, unless you know about them what Musa's companion knew about the young boy."

Ahmad 3264

Sahih

حدثنا سفيان حدثنا إسماعيل بن أمية عن سعيد بن أبي سعيد المقبري

عن يزيد بن هرمز قال

كتب نجدة إلى ابن عباس يسأله عن قتل الولدان فكتب إليه كتبت تسألني عن قتل الولدان وإن رسول الله ﷺ لم يكن يقتلهم وأنت فلا تقتلهم إلا أن تعلم منهم مثل ما علم صاحب موسى من الغلام

أحمد 3264صحيح
Contents
Reference
Commentary
Ayat
Collection
Musnad Ahmad
Book
Abdullah bin Abbas bin Abdul-Muttalib
Numbering
Darussalam 3264
Ahmad 3264