In this respect, I follow the example of Prophet Abraham and the believers with him, as in the Quran 60: 4-5, which means:
(4. You have a good example [to follow] in Abraham [: the devoted friend of God] and those [believers] with him, when they said to their people [the disbelievers]: "We are clear of you and of the [idols] which you worship, apart from God.
We reject you, and there has arisen, between us and you, enmity and hatred for ever, unless you believe in God alone [and then the enmity will turn into friendship.]"
But [follow not] the saying of Abraham to his father: "Certainly I shall ask forgiveness for you, but I have no power to do anything for you against God."
[Abraham went on saying:]
"Our Lord, on You we rely [in our emigration to the Land of Canaan], to You we turn obedient and to You is the final resort [after our death.]"
[Then God – be glorified – said, completing that which Abraham said:]
5. "Our Lord, let us not be persecuted by the disbelievers, and forgive us [our sins.]
Surely, You are the All-Mighty [in Your kingdom], the All-Wise [in Your creation.]")
More explanation is in the link: