It is evident from the point of view of knowledge that nutmeg contains a narcotic substance and Ibn Hajar Al-Haitami issued a formal legal opinion in the past on the prohibition of taking it.
The recommendations of the Eighth Symposium of the Islamic Organization for Medical Sciences came as follows:
Anesthetic or narcotic substance is forbidden, and taking it is not allowed except for the purpose of special medical treatment with an amount that physicians (doctors) prescribed. There is no prohibition in using Nutmeg and the likes, to enhance food flavor (aroma) with a small quantity that will not cause stimulation or sedation.