كتاب النكاح
16  
The Book of Marriage
(17)
Chapter: It is not permissible for a woman who has been thrice-divorced to return to the one who divorced her until she marries another husband who has intercourse with her, then divorces her, and she completes the 'Iddah
(17)
باب لاَ تَحِلُّ الْمُطَلَّقَةُ ثَلاَثًا لِمُطَلِّقِهَا حَتَّى تَنْكِحَ زَوْجًا غَيْرَهُ وَيَطَأَهَا ثُمَّ يُفَارِقَهَا وَتَنْقَضِي عِدَّتُهَا
Sahih Muslim 1433 a

'A'isha (Allah he pleased with her) reported:

There came the wife of Rifa'a to Allah's Apostle (ﷺ) and said: I was married to Rifa'a but he divorced me, making may divorce irrevocable. Afterwards I married Abd al-Rahman b. al-Zubair, but all he possesses is like the fringe of a garment (i. e. he is sexually weak). Thereupon Allah's Messenger (ﷺ) smiled, and said: Do you wish to return to Rifa'a. (You) cannot (do it) until you have tasted his sweetness and he ('Abd al-Rahman) has tasted your sweetness. Abu Bakr was at that time near him (the Holy Prophet) and Khalid (b. Sa'id) was at the door waiting for the permission to be granted to him to enter), He (Khalid) said; Abu Bakr, do you hear what she is saying loudly in the presence of Allah's Messenger (ﷺ)?
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَعَمْرٌو النَّاقِدُ، - وَاللَّفْظُ لِعَمْرٍو - قَالاَ حَدَّثَنَا سُفْيَانُ، عَنِ الزُّهْرِيِّ، عَنْ عُرْوَةَ، عَنْ عَائِشَةَ، قَالَتْ جَاءَتِ امْرَأَةُ رِفَاعَةَ إِلَى النَّبِيِّ صلى الله عليه وسلم فَقَالَتْ كُنْتُ عِنْدَ رِفَاعَةَ فَطَلَّقَنِي فَبَتَّ طَلاَقِي فَتَزَوَّجْتُ عَبْدَ الرَّحْمَنِ بْنَ الزَّبِيرِ وَإِنَّ مَا مَعَهُ مِثْلُ هُدْبَةِ الثَّوْبِ فَتَبَسَّمَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَقَالَ ‏ "‏ أَتُرِيدِينَ أَنْ تَرْجِعِي إِلَى رِفَاعَةَ لاَ حَتَّى تَذُوقِي عُسَيْلَتَهُ وَيَذُوقَ عُسَيْلَتَكِ ‏"‏ ‏.‏ قَالَتْ وَأَبُو بَكْرٍ عِنْدَهُ وَخَالِدٌ بِالْبَابِ يَنْتَظِرُ أَنْ يُؤْذَنَ لَهُ فَنَادَى يَا أَبَا بَكْرٍ أَلاَ تَسْمَعُ هَذِهِ مَا تَجْهَرُ بِهِ عِنْدَ رَسُولِ اللَّهِ صلى الله عليه وسلم ‏.‏
Reference : Sahih Muslim 1433a
In-book reference : Book 16, Hadith 129
USC-MSA web (English) reference : Book 8, Hadith 3354
  (deprecated numbering scheme)