Charak Samhita
मत्तं नृत्यन्तमाविध्य प्रेतो हरति यं नरम्। स्वप्ने हरति तं मृत्युरपस्मारपुरःसरः ॥२३॥
In dream, a person who sees himself dancing with ghosts while in intoxication with his head upside down, will be taken away by death getting affected with epilepsy.
english translation
mattaM nRtyantamAvidhya preto harati yaM naram। svapne harati taM mRtyurapasmArapuraHsaraH ॥23॥
hk transliteration by Sanscript