Abu Hafs bin Mughira divorced her three times. He then narrated the hadith, mentioning that Khalid bin Walid along with a group of men from Banu Makhzum came to the Prophet ﷺ and said, "Prophet of Allah, Abu Hafs bin Mughira has divorced his wife three times, and he has left her only a meager allowance for maintenance."The Prophet ﷺ replied, "She is not entitled to any maintenance."He then narrated the rest of the hadith. The version reported by Malik is more complete.
حدثنا موسى بن إسمعيل حدثنا أبان بن يزيد العطار حدثنا يحيى بن أبي كثير حدثني أبو سلمة بن عبد الرحمن أن
أن أبا حفص بن المغيرة طلقها ثلاثا وساق الحديث فيه وأن خالد بن الوليد ونفرا من بني مخزوم أتوا النبي ﷺ فقالوا يا نبي الله إن أبا حفص بن المغيرة طلق امرأته ثلاثا وإنه ترك لها نفقة يسيرة فقال لا نفقة لها وساق الحديث وحديث مالك أتم
[Sahih] Ibn Abdul-Barr reported it in Tamhid 19/137 from the hadith of Abu Dawud through this chain, and see the preceding hadith.