How to deal with a miscarriage
Question

                Before she died, my wife miscarried a foetus aged four months. She took the foetus and buried it without praying for it. Please advise me as to whether I have to do anything.
Praise be to Allah. 
          The foetus should have been washed, shrouded and prayed 
          for, according to the correct scholarly view, so long as it had reached 
          the age of four months, because of the general meaning of the report 
          narrated by Abu Dawood and al-Tirmidhi from al-Mugheerah ibn Shu’bah 
          (may Allaah be pleased with him), that the Prophet 
          
          (peace and blessings of Allaah be upon him) said: “The miscarried foetus 
          should be prayed for.” But the time for doing that has passed, so you 
          do not have to do anything. 
 
          And Allaah is the Source of strength. May Allaah bless 
          our Prophet Muhammad.