Sahih al-Bukhari 1269
Musaddad narrated to us, he said: Yahya bin Sa'id (Qattan) told us. Yahya narrated from Ubaidullah (Umari) that he said: Nafi told me. It is narrated from Hazrat (Abdullah) bin Umar (ra) that when Abdullah bin Ubayy died, his son came to the Prophet (saw). He said: O Messenger of Allah (saw)! Give me your shirt so that I may shroud him in it, and lead his funeral prayer and pray for his forgiveness. The Prophet (saw) gave him his shirt and said: “Inform me (when the funeral is ready). I will lead his funeral prayer.” So he informed him. When he intended to lead his funeral prayer, Hazrat Umar (ra) pulled him back and said: Has Allah, the Exalted, not forbidden you to pray the funeral prayer of the hypocrites? He replied: “I have been given the choice between two things. Allah, the Exalted, has said: ‘Ask thou forgiveness for them, or ask thou not forgiveness for them; even if thou ask forgiveness for them seventy times, Allah will never forgive them’ (Qur’an 9:80).” So he led his funeral prayer, and then this verse was revealed: “And never pray thou for any of them that dies, nor stand by his grave” (Qur’an 9:84).
AI-translated by Islam-Today