[Machine] "Abdullah ibn Ubayy ibn Salul was invited by the Messenger of Allah ﷺ to perform funeral prayer for him. So, when the Messenger of Allah ﷺ stood up, I hastened towards him and said, 'O Messenger of Allah, would you pray for Ibn Ubayy, even though he said such and such on such and such day?' I repeated his statement to him, so the Messenger of Allah ﷺ smiled and said, 'O Umar, postpone it for me.' When I insisted, he said, 'I was given a choice, so I chose that if I knew that by increasing the number beyond seventy, it would be forgiven for him, I would have increased it more.' Then the Messenger of Allah ﷺ performed the funeral prayer for him and then left. He did not stay except for a short while until the verses were revealed in disapproval: 'And never pray for any of them who has died - ever - or stand at his grave. Indeed, they disbelieved in Allah and His Messenger and died while they were defiantly disobedient.' (Quran 9:84) He said, 'I was amazed by my boldness towards the Messenger of Allah ﷺ on that day. By Allah, he and his Messenger know better.'"
عَبْدُ اللهِ بْنُ أُبَيٍّ ابْنُ سَلُولَ دُعِيَ لَهُ رَسُولُ اللهِ ﷺ لِيُصَلِّيَ عَلَيْهِ فَلَمَّا قَامَ رَسُولُ اللهِ ﷺ وَثَبْتُ إِلَيْهِ ثُمَّ قُلْتُ يَا رَسُولَ اللهِ أَتُصَلِّي عَلَى ابْنِ أُبَيٍّ وَقَدْ قَالَ يَوْمَ كَذَا وَكَذَا وَكَذَا وَكَذَا؟ أُعَدِّدُ عَلَيْهِ قَوْلَهُ فَتَبَسَّمَ رَسُولُ اللهِ ﷺ وَقَالَ أَخِّرْ عَنِّي يَا عُمَرُ فَلَمَّا أَكْثَرْتُ عَلَيْهِ قَالَ إِنِّي خُيِّرْتُ فَاخْتَرْتُ لَوْ أَعْلَمُ أَنِّي إِنْ زِدْتُ عَلَى السَّبْعِينَ غُفِرَ لَهُ لَزِدْتُ عَلَيْهَا فَصَلَّى عَلَيْهِ رَسُولُ اللهِ ﷺ ثُمَّ انْصَرَفَ فَلَمْ يَمْكُثْ إِلَّا يَسِيرًا حَتَّى نَزَلَتِ الْآيَتَانِ فِي بَرَاءَةَ {وَلَا تُصَلِّ عَلَى أَحَدٍ مِنْهُمْ مَاتَ أَبَدًا وَلَا تَقُمْ عَلَى قَبْرِهِ إِنَّهُمْ كَفَرُوا بِاللهِ وَرَسُولِهِ وَمَاتُوا وَهُمْ فَاسِقُونَ} [التوبة 84] قَالَ فَعَجِبْتُ بَعْدُ مِنْ جُرْأَتِي عَلَى رَسُولِ اللهِ ﷺ يَوْمَئِذٍ وَاللهُ وَرَسُولُهُ أَعْلَمُ