Ubada bin Samit reported,

Whenever revelation came down upon the Prophet of Allah ﷺ, he would be overcome with distress and his face would change color. One day revelation came upon him and he experienced this state. When it lifted from him, he said, "Take from me, for Allah has now appointed a way for them. The previously married with the previously married, and the virgin with the virgin. The previously married receives one hundred lashes and then stoning with stones, and the virgin receives one hundred lashes and then banishment for a year."

Muslim 4416

Sahih

حدثنا محمد بن المثنى وابن بشار جميعا عن عبد الأعلى قال ابن المثنى حدثنا عبد الأعلى حدثنا سعيد عن قتادة عن الحسن عن حطان بن عبد الله الرقاشي

عن عبادة بن الصامت قال

كان نبي الله ﷺ إذا أنزل عليه كرب لذلك وتربد له وجهه قال فأنزل عليه ذات يوم فلقي كذلك فلما سري عنه قال خذوا عني فقد جعل الله لهن سبيلا الثيب بالثيب والبكر بالبكر الثيب جلد مائة ثم رجم بالحجارة والبكر جلد مائة ثم نفي سنة

مسلم 4416صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Muslim
Book
Legal punishments
Chapter
Hadd of zina
Numbering
Darussalam 4416
Muslim 4416