Al-Imām al-Bukhārī narrates that Abū Ma’mar related to us; he said: ʿAbd al-Wārith narrated to us; he said: Khālid narrated to us, from ‘Ikrimah,
from Ibn ‘Abbās (may Allāh Almighty be content with them both), who said: The Messenger of Allāh ﷺ embraced me to his chest and supplicated: “O Allāh! Teach him knowledge of the Book.”
حَدَّثَنَا أَبُو مَعْمَرٍ قَالَ: حَدَّثَنَا عَبْدُ الْوَارِثِ قَالَ: حَدَّثَنَا خَالِدٌ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ قَالَ
ضَمَّنِي رَسُولُ اللهِ ﷺ وَقَالَ: اللَّهُمَّ عَلِّمْهُ الْكِتَابَ.
Reference: Sahih Al Bukhari 75