Heretics doing desirable or undesirable deeds

Imam Al-Nawawi’s Riyad-us-Saliheen
Chapter 19
Heretics doing desirable or undesirable deeds

Allah, the Exalted, says:

“And those who say: `Our Rubb! Bestow on us from our wives and our offspring the comfort of our eyes, and make us leaders of the Muttaqun (the pious)”. (25:74)

“And We made them leaders, guiding (mankind) by Our Command”. (21:73)

171. Jarir bin `Abdullah (May Allah be pleased with him) reported: We were with Messenger of Allah (sallallaahu ’alayhi wa sallam) shortly after dawn when there came to him some people clad in woollen rags, or covered with sleeveless blankets; and with swords hanging down from their necks. Most of them rather, all of them, belonged to the Mudar tribe. The face of the Prophet (sallallaahu ’alayhi wa sallam) changed when he saw them starving. Then he went into his house and came out; then he commanded Bilal (May Allah be pleased with him) to proclaim Adhan (call to prayers). So he proclaimed Adhan and recited Iqamah and the Prophet (sallallaahu ’alayhi wa sallam) led the Salat. Then he delivered a Khutbah saying, “O mankind! Be dutiful to your Rubb, Who created you from a single person (Adam), and from him (Adam) He created his wife (Eve), and from them both He created many men and women; and fear Allah through Whom you demand your (natural) rights, and do not sever the relations of kinship. Surely, Allah is Ever an All-Watcher over you.” (4:1) He also recited the Ayah which is in the end of Surat Al-Hashr: “O you who believe! Fear Allah and keep your duty to Him. And let every one look what he has sent forth for the tomorrow”. (59:18). Thereafter, every man gave in charity Dinar, Dirham, clothes, measure-fulls of wheat and measure-fulls of dates till he said: “(Give in charity) be it half a date”. Then a man of the Ansar came with a bag which was difficult for him to hold in his hand. Thereafter, the people came successively (with charity) till I saw two heaps of food and clothes. I noticed that the face of Messenger of Allah (sallallaahu ’alayhi wa sallam) was glowing like that of the bright moon or glittering gold. Then he (sallallaahu ’alayhi wa sallam) said, “Whosoever introduces a good practice in Islam, there is for him its reward and the reward of those who act upon it after him without anything being diminished from their rewards. And whosoever introduces an evil practice in Islam, will shoulder its sin and the sins of all those who will act upon it, without diminishing in any way their burden”

172. Ibn Mas`ud (May Allah be pleased with him) reported: The Prophet (sallallaahu ’alayhi wa sallam) said, “The first son of Adam* takes a share of the guilt of every one who murders another wrongfully because he was the initiator of committing murder”.
[Al-Bukhari and Muslim].

* The son of Adam in the Hadith is said to be Qabil. Allah tells us about his story in Surat Al-Ma’idah (The Table spread with Food). Verses 27-31.