It was narrated from Ibn`Abbas that the Messenger of Allah (ﷺ) said:
"If I were to stone anyone without proof, I would have stoned so-and-so, for there is obviously doubt concerning her speech, her appearance and those who enter upon her." (ID)
English reference (ID): Vol. 3, Book 20, Hadith 2559 (ID)
Arabic reference (ID): Book 20, Hadith 2656 (ID)