Yōga Sūtras
Yōga Sūtra 3.52
sthānyupanimantraṇē saṅgasmayākaraṇaṁ punaraniṣṭaprasaṅgāt।
If solicited by those in a position of power due to their company, one should not do their bidding, as the undesirable can strike again.