Manusmriti
इन्द्रियाणां निरोधेन रागद्वेषक्षयेण च । अहिंसया च भूतानाममृतत्वाय कल्पते ॥ ६० ॥
By the restraint of his senses, by the destruction of love and hatred, and by the abstention from injuring the creatures, he becomes fit for immortality.
english translation
indriyANAM nirodhena rAgadveSakSayeNa ca । ahiMsayA ca bhUtAnAmamRtatvAya kalpate ॥ 60 ॥
hk transliteration by Sanscript