Ibn Jurayj (may Allah have mercy on him) narrated that Ata (may Allah have mercy on him) said: For a thrice-divorced pregnant woman, the husband is responsible for nothing except to spend on her because of her pregnancy, and if she is not pregnant, then her maintenance is not upon the husband.
Hadith Referenceمسند الإمام الشافعي / كتاب العدد والسكنى والنفقات / 1322
Hadith Takhrijاسناده صحيح اخرجه البيهقى 375/7 - وفى المعرفة السنن والآثار له (4763) - وعبد الرزاق (12015)۔