Sunnah.com reference : Book 8, Hadith 38English translation : Book 8, Hadith 1008Arabic reference : Book 8, Hadith 1001
Narrated 'Aishah (RA):
A man divorced his wife by three pronouncements and another man married her and divorced her before cohabiting with her. Then, her first husband intended to remarry her and asked Allah's Messenger (ﷺ) about that. He said, "No, until the other one (second husband) has enjoyed sexual intercourse with her as the first (husband) had."

[Agreed upon; the wording is Muslim's].
وَعَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا , قَالَتْ : { طَلَّقَ رَجُلٌ اِمْرَأَتَهُ ثَلَاثًا , فَتَزَوَّجَهَا رَجُلٌ , ثُمَّ طَلَّقَهَا قَبْلَ أَنْ يَدْخُلَ بِهَا , فَأَرَادَ زَوْجُهَا أَنْ يَتَزَوَّجَهَا , فَسُئِلَ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-عَنْ ذَلِكَ , فَقَالَ : "لَا .‏ حَتَّى يَذُوقَ اَلْآخَرُ مِنْ عُسَيْلَتِهَا مَا ذَاقَ اَلْأَوَّلُ }  مُتَّفَقٌ عَلَيْهِ , وَاللَّفْظُ لِمُسْلِمٍ  1‏ .‏‏1 ‏- صحيح .‏ رواه البخاري ( 5261 )‏ ، ومسلم ( 1433 )‏ ( 115 )‏.‏