The Book Pertaining to Punishments Prescribed by Islam (Kitab Al-Hudud)
Muslim :: Book 17 : Hadith 4204
This hadith has been narrated on the authority of Dawud with the same chain of transmitters but with this variation that in the hadith narrated by Sufyan (the words are):" He made a confession of having committed adultery, thrice."