Dreaming of having intercourse

A: Wet dreams are the result of one's imagination. There is no sin or punishment on one who has a wet dream, whether accompanied by discharge or not. However, they must perform Ghusl (ceremonial purification bath) if Maniy (spermatic fluid) is discharged in the course of this dream.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.