Sahih Bukhari Volume 3, Book 38, Hadith Number 508.
Narated By Zaid bin Khalid and Abu Huraira : The Prophet said, “O Unais! Go to the wife of this (man) and if she confesses (that she has committed illegal sexual intercourse), then stone her to death.”