Ibn Abbas, Abu Hurayrah, and Abdullah bin Amr bin As were asked about a virgin whose husband divorces her three times. All of them said, "She is not lawful for him until she marries another husband."
وصار قول ابن عباس فيما حدثنا أحمد بن صالح ومحمد بن يحيى وهذا حديث أحمد قالا حدثنا عبد الرزاق عن معمر عن الزهري عن أبي سلمة بن عبد الرحمن بن عوف ومحمد بن عبد الرحمن بن ثوبان
أن ابن عباس وأبا هريرة وعبد الله بن عمرو بن العاص سئلوا عن البكر يطلقها زوجها ثلاثا فكلهم قالوا لا تحل له حتى تنكح زوجا غيره
No references are available.
[Sahih] Bayhaqi narrated it, 7/354, from the hadith of Abu Dawud, with this wording, and it is also the hadith of Malik in Muwatta.