BAYHAQI 11297:
from Ibn ʿUmar —
[Machine] The Messenger of Allah ﷺ offered me to fight in the Battle of Uhud when I was fourteen years old, but I was not given permission. Then, on the day of the Battle of the Trench, when I was fifteen years old, he gave me permission and I went to Umar ibn Abdul Aziz who was the Caliph at that time and told him about this incident. Umar said that this age is the boundary between adolescence and adulthood, and he wrote to his workers to include me in the group of adults. The wording of this hadith is reported by Muhammad ibn Ubayd from the hadith of Ubaydullah ibn Umar. And Abu Abdullah al-Hafiz informed me that Muhammad ibn Abdullah ibn Quraysh reported to him from Hasan ibn Sufyan, who reported from Muhammad ibn Abdullah ibn Numayr, who reported from his father, who mentioned the hadith in a similar way, except that he said, "The Messenger of Allah offered me to fight in the Battle of the Trench when I was fifteen years old, and he gave me permission." Naafi' said, "I went to Umar ibn Abdul Aziz and mentioned this to him, but he said, 'Anyone who is less than that should be included in the group of minors.'"
البيهقي ١١٢٩٧:
عن ابن عمر —
عَرَضَنِي رَسُولُ اللهِ ﷺ يَوْمَ أُحُدٍ فِي الْقِتَالِ وَأَنَا ابْنُ أَرْبَعَ عَشْرَةَ سَنَةً فَلَمْ يُجِزْنِي فَلَمَّا كَانَ يَوْمُ الْخَنْدَقِ وَأَنَا ابْنُ خَمْسَ عَشْرَةَ فَأَجَازَنِي فَقَدِمْتُ عَلَى عُمَرَ بْنِ عَبْدِ الْعَزِيزِ وَعُمَرُ يَوْمَئِذٍ خَلِيفَةٌ فَحَدَّثْتُهُ بِهَذَا الْحَدِيثِ فَقَالَ إِنَّ هَذَا الْحَدُّ بَيْنَ الصَّغِيرِ وَالْكَبِيرِ وَكَتَبَ إِلَى عُمَّالِهِ أَنِ افْرِضُوا ابْنَ خَمْسَ عَشْرَةَ وَمَا كَانَ سِوَى ذَلِكَ فَأَلْحِقُوهُ بِالْعِيَالِ لَفْظُ حَدِيثِ مُحَمَّدِ بْنِ عُبَيْدٍ أَخْرَجَاهُ مِنْ حَدِيثِ عُبَيْدِ اللهِ بْنِ عُمَرَ 11298 وَأَخْبَرَنَا أَبُو عَبْدِ اللهِ الْحَافِظُ أَخْبَرَنِي مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ قُرَيْشٍ أنبأ الْحَسَنُ بْنُ سُفْيَانَ ثنا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ نُمَيْرٍ ثنا أَبِي ثنا عُبَيْدُ اللهِ فَذَكَرَ الْحَدِيثَ بِمِثْلِهِ إِلَّا أَنَّهُ قَالَ وَعَرَضَنِي يَوْمَ الْخَنْدَقِ وَأَنَا ابْنُ خَمْسَ عَشْرَةَ سَنَةً فَأَجَازَنِي قَالَ نَافِعٌ فَقَدِمْتُ عَلَى عُمَرَ بْنِ عَبْدِ الْعَزِيزِ فَذَكَرَهُ إِلَّا أَنَّهُ قَالَ وَمَنْ كَانَ دُونَ ذَلِكَ فَاجْعَلُوهُ فِي الْعِيَالِ
hadithunlocked.com