"I heard 'Uthman bin 'Affan say: 'I never sang a song or told a lie or touched my penis with my right hand after I swore on oath of allegiance to the Messenger of Allah to that effect.'"
Sunan Ibn Majah Book 1, Hadith 45