Yazid bin Hurmuz reported,

Najdah wrote to Ibn Abbas asking him about the share allotted to the close relatives, namely, who is entitled to it, and about the orphan, when his orphanhood comes to an end, and about the woman and the slave when they are present at a battle that yields spoils, and about the killing of the children of the polytheists.Ibn Abbas said, "Were it not that I wish to keep him from falling into something wrong, I would not have answered him."He wrote back to him, "You wrote to me asking about the share of the close relatives, namely, who is entitled to it. We used to consider it as belonging to the relatives of the Messenger of Allah ﷺ, but our people refused to grant us that.As for the orphan, when his orphanhood comes to an end, it ends when he reaches puberty or when sound judgment is recognized in him.As for the woman and the slave being present at a battle that yields spoils, they receive no fixed share, but they are given a token gift from the spoils.As for the killing of the children of the polytheists, the Messenger of Allah ﷺ did not kill them, so you must not kill them either, unless you know about them what Khidr knew about the boy when he killed him."

Ahmad 2685

Sahih

حدثنا عبد الوهاب بن عطاء أخبرنا جرير بن حازم عن قيس بن سعد

عن يزيد بن هرمز

أن نجدة كتب إلى ابن عباس يسأله عن سهم ذي القربى لمن هو وعن اليتيم متى ينقضي يتمه وعن المرأة والعبد يشهدان الغنيمة وعن قتل أطفال المشركين فقال ابن عباس لولا أن أرده عن شيء يقع فيه ما أجبته وكتب إليه إنك كتبت إلي تسأل عن سهم ذي القربى لمن هو وإنا كنا نراها لقرابة رسول الله ﷺ فأبى ذلك علينا قومنا وعن اليتيم متى ينقضي يتمه قال إذا احتلم أو أونس منه خير وعن المرأة والعبد يشهدان الغنيمة فلا شيء لهما ولكنهما يحذيان ويعطيان وعن قتل أطفال المشركين فإن رسول الله ﷺ لم يقتلهم وأنت فلا تقتلهم إلا أن تعلم منهم ما علم الخضر من الغلام حين قتله

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