Abdullah bin Umar reported,

The Prophet ﷺ was asked about a man who divorces his wife three times, after which another man marries her, closes the door, lowers the curtain, and then divorces her before consummating the marriage. He said, "She is not lawful for the first husband until the second one has had intercourse with her."Abu Abdul-Rahman said, "This is closer to what is correct."

Nasai 3444

Sahih

أخبرنا محمود بن غيلان قال حدثنا وكيع قال حدثنا سفيان عن علقمة بن مرثد عن رزين بن سليمان الأحمري

عن ابن عمر قال

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

النسائي 3444صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Nasai Sughra
Book
Divorce
Chapter
Permissibility of a thrice-divorced woman and the marriage that makes her lawful
Numbering
Darussalam 3444
Nasai 3444