Narrated By Ibn Abbas : When ‘Abdullah bin ‘Ubai died, his son ‘Abdullah bin ‘Abdullah came to Allah’s Apostle and asked him to give him his shirt in order to shroud his father in it. He gave it to him and then ‘Abdullah asked the Prophet to offer the funeral prayer for him (his father). Allah’s Apostle got up to offer the funeral prayer for him, but Umar got up too and got hold of the garment of Allah’s Apostle and said, “O Allah’s Apostle Will you offer the funeral prayer for him though your Lord has forbidden you to offer the prayer for him” Allah’s Apostle said, “But Allah has given me the choice by saying:

‘(Whether you) ask forgiveness for them, or do not ask forgiveness for them; even if you ask forgiveness for them seventy times…’ (9.80) so I will ask more than seventy times.” ‘Umar said, “But he (‘Abdullah bin ‘Ubai) is a hypocrite!” However, Allah’s Apostle did offer the funeral prayer for him whereupon Allah revealed:

‘And never (O Muhammad) pray for anyone of them that dies, nor stand at his grave.’ (9.84)