Natyashastra
ततः पञ्चपदीं गच्छेदतिक्रान्तैः पदरथ । ततोऽभिवादनं कुर्याद्देवतानां यथादिशम् ॥९२॥
Then, one should proceed to the five-footed position, having passed beyond the footpath. Afterward, one should offer salutations to the deities in their respective directions.
english translation
tataH paJcapadIM gacchedatikrAntaiH padaratha । tato'bhivAdanaM kuryAddevatAnAM yathAdizam ॥92॥
hk transliteration by Sanscript