Answer:
It is narrated from Abdullah bin Ubayd bin Umayr that the Messenger of Allah ﷺ was asked about the ghilan, and he ﷺ said:
«هم سحرة الجن»
They are the sorcerer jinn. Look!
Similarly, there is a saying of his ﷺ:
«وإذا تغولت لم الغيلان، فبادروا بالأذان»
“The ghilan are the sorcerer jinn, who lead people astray from the straight path and put them into trial. The meaning of «تغولت» is that they appear to you in various forms. «فبادروا بالأذان» means: hurry to call the adhan in a loud voice, because it will flee and you will be saved from its evil, since the devils turn their backs and flee when they hear the adhan.”