Shiva Purana
अथोन्मत्ताकृतिर्देवी स्वतन्त्रा लीलया शिवा ॥ आगता द्वारि तद्रूपा प्रभोराज्ञामवाप सा॥ ५॥
The independent goddess Pārvatī sportively assumed the form of a mad woman and with the permission of her lord came near to the door in that form itself.
english translation
athonmattAkRtirdevI svatantrA lIlayA zivA ॥ AgatA dvAri tadrUpA prabhorAjJAmavApa sA॥ 5॥
hk transliteration by Sanscript