Muwatta Imam Malik Book of Fasting, Hadith 52
Yahya related to me from Malik that he had heard that Abdullah ibn Umar was asked about what a pregnant woman should do if the fast became difficult for her and she feared for her child, and he said, "She should break the fast and feed a poor man one mudd of wheat in place of every day, using the mudd of the Prophet, may Allah bless him and grant him peace."
Malik said, "The people of knowledge consider that she has to make up for each day of the fast that she misses as Allah, the Exalted and Glorified, says, 'And whoever of you is sick or on a journey should fast an equal number of other days, ' and they consider her pregnancy and her concern for her child as a sickness."
وَحَدَّثَنِي عَنْ مَالِكٍ، أَنَّهُ بَلَغَهُ أَنَّ عَبْدَ اللَّهِ بْنَ عُمَرَ، سُئِلَ عَنِ الْمَرْأَةِ الْحَامِلِ، إِذَا خَافَتْ عَلَى وَلَدِهَا وَاشْتَدَّ عَلَيْهَا الصِّيَامُ قَالَ تُفْطِرُ وَتُطْعِمُ مَكَانَ كُلِّ يَوْمٍ مِسْكِينًا مُدًّا مِنْ حِنْطَةٍ بِمُدِّ النَّبِيِّ ﷺ . قَالَ مَالِكٌ وَأَهْلُ الْعِلْمِ يَرَوْنَ عَلَيْهَا الْقَضَاءَ كَمَا قَالَ اللَّهُ عَزَّ وَجَلَّ {فَمَنْ كَانَ مِنْكُمْ مَرِيضًا أَوْ عَلَى سَفَرٍ فَعِدَّةٌ مِنْ أَيَّامٍ أُخَرَ} وَيَرَوْنَ ذَلِكَ مَرَضًا مِنَ الأَمْرَاضِ مَعَ الْخَوْفِ عَلَى وَلَدِهَا .