Shiva Purana
तद्दक्षिणे नन्दिनञ्च महाकालन्तदुत्तरे ॥ भृंगीशन्दक्षिणद्वारपश्चिमे सम्प्रपूजयेत् ॥ ९॥
Nandi is on the south of it and Mahakala is on the north. One should worship Bhringisha on the west side of the southern gate.
english translation
taddakSiNe nandinaJca mahAkAlantaduttare ॥ bhRMgIzandakSiNadvArapazcime samprapUjayet ॥ 9॥
hk transliteration by Sanscript