Verily to Allaah we belong and to Him is our return. May Allaah reward you for your patience sister, ameen. Without a doubt whenever Allaah takes anything away from us, He inshaa Allaah replaces us with something better.
Abu Hurayrah radi Allaahu anhu narrated that Allah’s Messenger sal Allaahu alayhi wa sallam said to a group of Ansari women:
“There is no woman amongst you who has three children of hers die, yet she is patient, hoping for the reward from Allah, except that she shall enter Jannah.”
So a woman amongst them asked, “What about two children, O Messenger of Allah?”
He replied, “Even two.”
Anas reported that the Messenger of Allah, may Allah bless him and grant him peace, visited his son Ibrahim while he was breathing his last. The eyes of the Messenger of Allah, may Allah bless him and grant him peace, began to flow with tears and 'Abdu'r-Rahman ibn 'Awf said to him, "Even you, Messenger of Allah!" He said, "O Ibn 'Awf, it is an aspect of mercy." then more tears followed and the Prophet said, "The eye weeps and the heart grieves. We say nothing except what pleases our Lord. O Ibrahim, we are grieved at your departure."
I invite you to check this article insha Allaah;
Goodbye My Beloved
It's of great benefit, especially in regard to your situation insha Allaah.
..it is possible that ye dislike a thing which is good for you, and that ye love a thing which is bad for you. But Allah knoweth, and ye know not. [Qur'an 2: 216]
Remember that everyone is tested through different ways, some are tested through their health, some through wealth and poverty, others through their children. But remember that if you place your trust in Allaah, He is sufficient for you and He will reward you for that patience insha Allaah.
Know that Allaah never overburdens a soul with what it can't bear, and it may be that your patience for this baby will be a form of reward, an entry for you to enter Jannah/Paradise. You may be sad because you loved this child, but what form of test would this life be if we weren't tested with what we love? Remember that the greater the trial, the greater the reward.
The Messenger of Allaah (peace be upon him) said:
Whatever befalls a Muslim of sorrow, grief, exhaustion, fatigue or harm, Allah will forgive him his sins for that. This is true even for a thorn that penetrates his foot.”
(Bukhari & Muslim)Between Trial and Punishment
And he also said:
“Great is the state of a believer, for he is winner at any rate. If he is given a blessing and thus shows gratitude, it is good for him. If he is plagued with an affliction and thus shows patience, it is good for him.” [Sahih Muslim]
Remember that if you remain patient and place your trust in Allaah, then Allaah may bring through this a great deal of good.. a good which you don't know of yet. But Allaah knows, since He is the All Knowing, the Wise.
We will keep you in our duas' sister.