Sahih al-Bukhari 4671
Yahya bin Bukair narrated to us that Laith (bin Sa'd) told us that it is narrated from Uqail; and someone other than Yahya said thus: Laith narrated to me that Uqail told me that it is narrated from Ibn Shihab. He said: Ubaidullah bin Abdullah told me. He narrated from Hazrat Ibn Abbas (ra), Hazrat Ibn Abbas (ra) from Hazrat Umar bin Khattab (ra), that he said: When Abdullah bin Ubayy bin Salul died, the Messenger of Allah (saw) was called for him so that he might lead his funeral prayer. When the Messenger (saw) stood up, I went quickly towards him. I said: O Messenger of Allah (saw)! Will you lead the funeral prayer of the son of Ubayy, although on such-and-such a day he said such and such? Hazrat Umar (ra) used to say that I began to count out his sayings before him. The Messenger of Allah (saw) (on hearing this) smiled and said: “Umar (ra), step aside.” When I insisted much, he (saw) said: “I have been given a choice, so I have chosen this. If I knew that if I sought forgiveness more than seventy times he would be forgiven, I would certainly seek forgiveness for him more than that.” He used to say: So the Messenger of Allah (saw) offered the funeral prayer over him. Then he went back. Only a little while had passed when these two verses of Surah Bara'ah were revealed: “And never pray thou for any of them that dies, nor stand by his grave; for they disbelieved in Allah and His Messenger and died while they were disobedient.” (Qur’an 9:84) He used to say: Afterwards I was astonished at my boldness which I showed towards the Messenger (saw), whereas Allah and His Messenger know best.
AI-translated by Islam-Today