Hello again @Sofia waqas,
thank you for sharing your question with the Wefeugees community.
There are exemptions for women with small children. The time spent bringing up children until their 3rd birthday will be included in the 60 months, if it is documented in your information about your pension insurance periods. You can see this in the annual information which is automatically sent to you, or you just apply for an account clarification (the form can be found here: https://***.deutsche-rentenversicherung.de/SharedDocs/Formulare/DE/_pdf/V0100.html) to get this information.
I hope my answers were useful for you and I'll be very pleased if you contact me again with further questions. I'm a member of the mbeon-staff and I‘ll be glad to guide over a longer period of time. mbeon is an online advisory service for migrants via the mbeon-app, which you can download on your smartphone for free via Google Play Store (https://play.google.***/store/apps/details?id=de.zone35.mbeon)
or the App Store (https://apps.apple.***/de/app/mbeon-messengerberatung/id1408795643).
You'll find me in the mbeon-app under my name „München, Frau Müller“ and get confidential one-to-one advice in a safe virtual room where nobody can read messages. For more information please visit ***.mbeon.de.
Best regards