Jami` at-Tirmidhi 3101
جامع الترمذي#3101Da'ifNarrated 'Ali:"I heard a man seeking forgiveness for his parents who were idolaters, so I said to him: 'You seek forgiveness for your parents while they are idolaters?' He said: 'Did Ibrahim not seek forgiveness for his father, and he was an idolater?' So I mentioned that to the Prophet (ﷺ) and (the following) was revealed: It is not for the Prophet nor those who believe, that they should seek forgiveness for the idolaters (9:)
Scholarly Authentication
We show the most cautious grade (weakest-wins) as the overall label. Individual scholars graded it as follows:
Ahmad Muhammad ShakirHasan
Al-AlbaniHasan
Bashar Awad MaaroufHasan
Zubair Ali ZaiDaif
In-book reference: 47:153