Manusmriti
तिष्ठन्तीष्वनुतिष्ठेत् तु व्रजन्तीष्वप्यनुव्रजेत् । आसीनासु तथाऽसीनो नियतो वीतमत्सरः ॥ १११ ॥
Controlling himself and free from anger, he must stand when they stand, follow them when they walk, and seat himself when they lie down.
english translation
tiSThantISvanutiSThet tu vrajantISvapyanuvrajet । AsInAsu tathA'sIno niyato vItamatsaraH ॥ 111 ॥
hk transliteration by Sanscript