Hadithcore
Sahih Muslim, 2477
sahih

Ibn 'Abbas reported that Allah's Messenger (ﷺ) came to privy and I placed for him water for ablution, When he came out he said:

Who placed it here? And in a version of Zuhair they (the Companions) said, and in the version of Abu Bakr (the words are): I said: It is Ibn 'Abbas (who has done that), whereupon he (the Prophet) said: May Allah grant him deep understanding of religion.

حَدَّثَنَا زُهَيْرُ بْنُ حَرْبٍ، وَأَبُو بَكْرِ بْنُ النَّضْرِ قَالاَ حَدَّثَنَا هَاشِمُ بْنُ الْقَاسِمِ، حَدَّثَنَا وَرْقَاءُ بْنُ عُمَرَ الْيَشْكُرِيُّ، قَالَ سَمِعْتُ عُبَيْدَ اللَّهِ بْنَ أَبِي يَزِيدَ، يُحَدِّثُ عَنِ ابْنِ عَبَّاسٍ، أَنَّوسلم أَتَى الْخَلاَءَ فَوَضَعْتُ لَهُ وَضُوءًا فَلَمَّا خَرَجَ قَالَ ‏"‏ مَنْ وَضَعَ هَذَا ‏"‏ ‏.‏ فِي رِوَايَةِ زُهَيْرٍ قَالُوا ‏.‏ وَفِي رِوَايَةِ أَبِي بَكْرٍ قُلْتُ ابْنُ عَبَّاسٍ ‏.‏ قَالَ ‏"‏ اللَّهُمَّ فَقِّهْهُ ‏"‏ ‏.‏

References2 variants
In-Book Reference
Book 44, Hadith 198
USC-MSA web (English) reference
Book 31, Hadith 6055 (deprecated numbering scheme)