Asking Allah for a child

Q 5: Will I be sinning if I supplicate to Allah to give me a baby boy? (Part No. 24; Page No. 180

A: There will be no blame or sin on you if you make such a supplication. The same supplication was made by Prophet Zakariyyah (peace be upon him), and Allah answered it.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.