A:
If a miscarried baby is delivered dead even after life had been breathed into it, it should not be circumcised. Rather, it should just be given a name, washed, buried, and the Janazah (funeral) Prayer should be offered for it. Accordingly, your having circumcised your miscarried baby was not the right behavior. However, you have to do nothing but ask Allah for forgiveness and be more cautious in the future regarding religion-related matters that you might not do such a thing before asking people of knowledge.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.