Yazid bin Hurmuz reported,

Najdah bin Amir wrote a letter to Ibn Abbas. The narrator said, I was present with Ibn Abbas when he read the letter and when he wrote his reply.Ibn Abbas said, "By Allah, were it not that I wish to keep him from falling into something foul, I would not write to him, nor would I do him any favor."He then wrote to him, "You asked about the share allotted to the near relatives whom Allah mentioned, and who they are. We used to hold that the near kin of the Messenger of Allah ﷺ were us, but our people refused to grant us this.You asked about the orphan, and when his orphanhood comes to an end. When he reaches the age of marriage, sound judgment is observed in him, and his property is handed over to him, his orphanhood has ended.You asked whether the Messenger of Allah ﷺ used to kill any of the children of the polytheists. The Messenger of Allah ﷺ did not kill any of them, and you too must not kill any of them, unless you know about them what Khidr knew about the boy when he killed him.You asked about the woman and the slave, whether they had a fixed share when they were present at battle. They had no fixed share, but they were given something from the spoils of the people."

Muslim 4688

Sahih

حدثنا إسحق بن إبراهيم أخبرنا وهب بن جرير بن حازم حدثني أبي قال سمعت قيسا يحدث عن يزيد بن هرمز ح و حدثني محمد بن حاتم واللفظ له قال حدثنا بهز حدثنا جرير بن حازم حدثني قيس بن سعد

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

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

مسلم 4688صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Jihad and expeditions
Chapter
Women who participate in military expeditions are given a share but not a full portion, and the prohibition of killing the children of the enemy
Numbering
Darussalam 4688
Muslim 4688