ANSWER:

Those who blame you are ignorant as this was something Allah decreed for you and out of your control!  Everything that happens has already been decreed 50,000 years before the creation was created, therefore, put your trust in Allah alone, and make a lot of dua in the sujood of your prayers for Allah to grant you a righteous child. 

Reading the Quran will give you tranquility, patience, and will increase your iman. Allah had this miscarriage for the best of things. Most likely the child would have been born handicapped or mentally challenged or deformed. This is why it is a blessing to have such a miscarriage. 

I recently suffered a traumatic miscarriage at 5 and a half months to the point I have nightmares and flashbacks. I often cry for my child and have been blamed for causing the miscarriage although the doctors have said it is because of an infection that couldn’t be detected. Is there anything in the Quran or sunnah that will comfort me?