Natyashastra
अथवार्थवशाच्चापि तेनैव सह गच्छति । तथैव प्रविशेत् गेहमेकाकी सहितोऽपि वा ॥ १४॥
If due to necessity, the person goes along with that same individual, they should enter the house in the same manner, whether alone or accompanied.
english translation
athavArthavazAccApi tenaiva saha gacchati । tathaiva pravizet gehamekAkI sahito'pi vA ॥ 14॥
hk transliteration by Sanscript