Hazrat Moulana Muhammad Ilyaas (rahmatullahi ‘alaih) once mentioned the following:
At the time of conveying the message of deen to people, one must ensure that his heart is focused towards Allah Ta‘ala and not the people.
In other words, at that time, the overwhelming feeling within the heart should be that we have not come out to fulfill any of our worldly tasks, nor have we come out of our own choice. Rather, we have come out to fulfill the command of Allah Ta‘ala, and to carry out the work that Allah Ta‘ala has placed upon us. Hence, we should bear in mind that the listeners receiving tawfeeq to practice upon our message is solely in the hands of Allah Ta‘ala.
When this will be the overwhelming feeling within the heart at the time we invite people towards deen, then insha Allah, even if people conduct inappropriately and do not receive our message positively, we will not be annoyed and angry, and nor will we lose courage and hope.
(Malfoozaat Hazrat Moulana Muhammad Ilyaas (rahmatullahi ‘alaih) pg. 28)