Topic:
Choosing a Name for a Child Before Birth
(No-65904)
Is it permissible to choose a name for a child a few months before birth, or to intend that if the child is a boy, a certain name will be given, and if it is a girl, a different name will be given?

It is permissible to propose a good, meaningful name for a child before birth. There is no Shari'i prohibition against doing so.
Allah the Almighty knows best.
Darul Ifta Al-Ikhlas, Karachi.
سنن أبی داؤد: (رقم الحدیث: 4955، ط: دار ابن حزم)
عن أبي الدرداء قال: قال رسول الله صلی الله علیه وسلم: تُدعون یوم القیامة بأسمائکم وأسماء آبائکم فأحسنوا أسمائکم․