(2) The Book of Purification
كتاب الطهارة
(18) Chapter: The prohibition of cleaning oneself with the right hand
(18) باب النَّهْىِ عَنْ الاِسْتِنْجَاءِ، بِالْيَمِينِ ‏‏
Sahih Muslim 267b 

Abu Qatada reported it from his father that the Messenger of Allah (ﷺ) said:

When anyone amongst you enters the privy he should not touch his penis with his right hand.
حَدَّثَنَا يَحْيَى بْنُ يَحْيَى، أَخْبَرَنَا وَكِيعٌ، عَنْ هِشَامٍ الدَّسْتَوَائِيِّ، عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ، عَنْ عَبْدِ اللَّهِ بْنِ أَبِي قَتَادَةَ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ إِذَا دَخَلَ أَحَدُكُمُ الْخَلاَءَ فَلاَ يَمَسَّ ذَكَرَهُ بِيَمِينِهِ ‏"‏ ‏.‏
Reference : Sahih Muslim 267b
In-book reference : Book 2, Hadith 81
USC-MSA web (English) reference : Book 2, Hadith 512
  (deprecated numbering scheme)