It is narrated from Abu al-Zubair that Jabir bin Abdullah (may Allah be pleased with him) said: The divorced woman is entitled to maintenance as long as she is not forbidden (i.e., as long as the irrevocable divorce has not occurred), and when she becomes forbidden (i.e., when three divorces have taken place), then she should be provided for in a good manner.
Hadith Referenceمسند الإمام الشافعي / كتاب العدد والسكنى والنفقات / 1321
Hadith Takhrijاسناده صحيح اخرجه البيهقى 475/7 - وفى المعرفة السنن والآثار له (3762)۔