Mishkat al-Masabih
Book 30, Hadith 175
Arabic hadith text
وَعَنْهُ أَنَّهُ قَالَ: دَعَا لِي رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنْ يُؤْتِيَنِي اللَّهُ الْحِكْمَة مرَّتَيْنِ. رَوَاهُ التِّرْمِذِيّ
Translation
He reported: The Messenger of Allah ﷺ prayed for me that Allah grant me wisdom, twice. Al-Tirmidhi transmitted it.