Jami` at-Tirmidhi 3823
جامع الترمذي#3823Sahihحَدَّثَنَا مُحَمَّدُ بْنُ حَاتِمٍ الْمُكْتِبُ الْمُؤَدِّبُ، قَال حَدَّثَنَا الْقَاسِمُ بْنُ مَالِكٍ الْمُزَنِيُّ، عَنْ عَبْدِ الْمَلِكِ بْنِ أَبِي سُلَيْمَانَ، عَنْ عَطَاءٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ دَعَا لِي رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ يُؤْتِيَنِي اللَّهُ الْحِكْمَةَ مَرَّتَيْنِ . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ غَرِيبٌ مِنْ هَذَا الْوَجْهِ مِنْ حَدِيثِ عَطَاءٍ . وَقَدْ رَوَاهُ عِكْرِمَةُ عَنِ ابْنِ عَبَّاسٍ .
Narrated Ibn 'Abbas:"The Messenger of Allah (ﷺ) supplicated for me that Allah should give me Al-Hukm (knowledge, understanding, judging justly, or understanding of the Qur'an) two times
Scholarly Authentication
The label above is the grade most of these scholars gave — one dissenting opinion no longer speaks for all of them. If any scholar calls a narration fabricated, that verdict is shown instead, whatever the others say. Each scholar's own wording:
In-book reference: 49:223