A person who has had a sexual dream should perform Ghusl
Q:
Is it obligatory upon a person who had a wet dream to perform Ghusl (ritual bath) following Janabah (major ritual impurity related to sexual discharge)? How can he do this Ghusl?
A:
All praise be to Allah Alone, and peace and blessings be upon His Messenger, and his family and Companions.
Such a person is obliged to do Ghusl if the ejaculation of semen takes place as a result of wet dreaming. With regard to how to do Ghusl, it would be sufficient if he makes water reach all parts of his body. Yet, it is preferable that he should wash his private parts and anywhere else that the impurity had reached, perform complete Wudu’ (ablution), run wet fingers through the hair, making sure that water reaches the root and then pour three scoops of water over his head and over the rest of his body.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.