Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:464ʿAbdullāh > Bī > ʿAbd al-Razzāq > Maʿmar > al-Ṣibyān Liyaḥyá b. Zakariyyā Ādhhab Binā Falnalʿab > Mā Lillaʿb Khuliqnā

[Machine] "So Allah revealed, 'And We gave him judgement while he was still a boy'" [Maryam 12].  

الزهد لأحمد:٤٦٤حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنَا أبِي حَدَّثَنَا عَبْدُ الرَّزَّاقِ قَالَ سَمِعْتُ مَعْمَرًا يَقُولُ قَالَ الصِّبْيَانُ لِيَحْيَى بْنِ زَكَرِيَّا اذْهَبْ بِنَا فَلْنَلْعَبْ قَالَ مَا لِلَّعْبِ خُلِقْنَا قَالَ

فَأَنْزَلَ اللَّهُ ﷻ {وَآتَيْنَاهُ الْحُكْمَ صَبِيًّا} [مريم 12]