Surah At-Tawba, Verse 114
Translation — Sahih International
And the request of forgiveness of Abraham for his father was only because of a promise he had made to him. But when it became apparent to Abraham that his father was an enemy to Allah, he disassociated himself from him. Indeed was Abraham compassionate and patient.
Source
Kur'an-ı Kerim, Tevbe Suresi 9:114
https://kuran.diyanet.gov.tr/mushaf/kuran-meal-2/9-suresi-114-ayet