Sahl bin Saad reported,

He reported to him that Uwaymir al-Ajlani came to Asim bin Adi al-Ansari and said to him, "Asim, what do you think of a man who finds another man with his wife? Should he kill him, in which case you would execute him, or what should he do? Asim, ask the Messenger of Allah ﷺ about this for me."So Asim asked the Messenger of Allah ﷺ about it, but the Messenger of Allah ﷺ disliked such questions and found them objectionable, so much so that what he heard from the Messenger of Allah ﷺ weighed heavily on Asim.When Asim returned to his family, Uwaymir came and asked, "Asim, what did the Messenger of Allah ﷺ say to you?"Asim replied, "You have brought me no good. The Messenger of Allah ﷺ disliked the question I asked him."Uwaymir said, "By Allah, I will not stop until I ask him about it myself."Uwaymir then went forward until he reached the Messenger of Allah ﷺ in the midst of the people and said, "Messenger of Allah, what do you think of a man who finds another man with his wife? Should he kill him, in which case you would execute him, or what should he do?"The Messenger of Allah ﷺ said, "Allah has revealed something concerning you and your wife, so go and bring her."Sahl said, "So they performed the mutual oath of condemnation, and I was among the people with the Messenger of Allah ﷺ. When they had finished, Uwaymir said, 'I would have wronged her, Messenger of Allah, if I kept her,' and he divorced her three times before the Messenger of Allah ﷺ could instruct him."Ibn Shihab said, "That became the established practice for the Mutalaineen."

Bukhari 5259

Sahih

حدثنا عبد الله بن يوسف أخبرنا مالك عن ابن شهاب أن

سهل بن سعد الساعدي

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

البخاري 5259صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Divorce
Chapter
Whoever permitted the threefold divorce
Numbering
Darussalam 5259
Bukhari 5259