صحيح مسلم
From Sahih Muslim (Hadith 614):
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: Muslim 614