Q: I saw a dream that I gave birth to a child when in the dream and also in reality I am not married.
A: You should guard your eyes, tongue and heart from committing sin, observe purdah with all na mahrams and refrain from everything that is doubtful (e.g. food, company, literature, TV, internet, etc).
And Allah Ta’ala (الله تعالى) knows best.
Mufti Zakaria Makada