Hazrat Moulana Ashraf Ali Thanwi (rahmatullahi ‘alaih) once mentioned:
Nowadays, salvation lies in keeping to oneself and associating less with people. (In this way, one will be able to concentrate on one’s self reformation and be safeguarded from the wrongs of association and company.) I came across the statement of a pious person in a certain kitaab wherein he says that when remaining in seclusion, one should not make the intention that he is doing so in order to be saved from the harms of people. Rather, he should think to himself, “I am like a snake or scorpion that can harm people and therefore I should not associate with them in order to protect them from my harm.” How cautious indeed were our predecessors and seniors in ensuring that they did not fall into self admiration and other similar sins! (Malfoozaat Husnul Azeez pg.116)
Source: Ihyaauddeen.co.za