(12) بَابُ لاَ يَسْتَغْفِرُ لأَبِيهِ الْمُشْرِكِ
Ibn 'Abbas mentioned the words of the Almighty, "When one or bothof them reach old age with you, do not say 'Ugh!' to them out of irritationand do not be harsh with them but speak to them with gentleness and generosity.Take them under your wing, out of mercy, with due humility and say:
'Lord,show mercy to them as they did in looking after me when I was small."(17:23-24) He said, "This was abrogated in Surat at-Tawba: 'Itis not right for the Prophet and those who have iman to ask forgiveness forthe mushrikun even if they are close relatives after it has become clearto them that they are the Companions of the Blazing Fire.' (9:113)"
Reference: Al-Adab Al-Mufrad 23
In-book reference: Book 1, Hadith 23
English translation: Book 1, Hadith 23