It is narrated from Sayyiduna Ali (may Allah be pleased with him): "I saw a man seeking forgiveness for his parents although both of them were polytheists. So I said to him: Are you praying for forgiveness for your parents while both of them are polytheists? He replied: Did Sayyiduna Ibrahim (peace be upon him) not seek forgiveness for his father although he too was a polytheist? Sayyiduna Ali (may Allah be pleased with him) said: Then I mentioned this to the Prophet (peace and blessings be upon him), and these verses were revealed: 'It is not fitting for the Prophet and those who believe to seek forgiveness for the polytheists', to the end of the two verses."
Hadith Referenceمسند أبي يعلى الموصلي / مسند علي بن أبي طالب رضي الله عنه / 619
Hadith Gradingمحدثین:إسناده حسن
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده حسن . » «قال سعيد بن محمد السناري: ضعيف: مضى الكلام عليه [برقم 3355]» «أخرجه سنن الترمذي برقم: 3101، وأخرجه سنن النسائي برقم: 2036، وأخرجه مسند أحمد برقم: 1088، وأخرجه المستدرك على الصحيحين برقم: 3342، وأخرجه شرح مشكل الآثار برقم: 2480، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 7241، مسند ابویعلیٰ ترقیم الاثری: 614»