Sunan an-Nasa'i 25
It was narrated from 'Abdullah bin Abi Qatadah that his father said:"The Messenger of Allah (ﷺ) said: 'When any one of you enters Al-Khala' (the toilet), let him not touch his penis with his right hand
أَخْبَرَنَا هَنَّادُ بْنُ السَّرِيِّ، عَنْ وَكِيعٍ، عَنْ هِشَامٍ، عَنْ يَحْيَى، - هُوَ ابْنُ أَبِي كَثِيرٍ - عَنْ عَبْدِ اللَّهِ بْنِ أَبِي قَتَادَةَ، عَنْ أَبِيهِ، قَالَ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم " إِذَا دَخَلَ أَحَدُكُمُ الْخَلاَءَ فَلاَ يَمَسَّ ذَكَرَهُ بِيَمِينِهِ " .
Sahih — Abu GhuddahSahih — Al-AlbaniSahih - Agreed Upon — Zubair Ali Zai