Mishkat al-Masabih
Book 30, Hadith 163
Arabic hadith text
وَعَنْهُ قَالَ: إِنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ دَخَلَ الْخَلَاءَ فَوَضَعْتُ لَهُ وَضُوءًا فَلَمَّا خَرَجَ قَالَ: «مَنْ وَضَعَ هَذَا؟» فَأُخْبِرَ فَقَالَ: «اللَّهُمَّ فقهه فِي الدّين» . مُتَّفق عَلَيْهِ
Translation
He reported: The Prophet ﷺ entered the privy, and I set out water for his ablution. When he came out, he said: ‘Who prepared this?’ He was told, and he said: ‘O Allah, grant him deep understanding of the religion.’ Agreed upon.