It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both) that once the Prophet (peace and blessings be upon him) embraced me and supplicated: «اَللّٰهُمَّعَلِّمْهُالْكِتَابَ» "O Allah! Grant him the knowledge of the Book."
Hadith Referenceمسند احمد / ومن مسند بني هاشم / 3379