Narrated Zayd, the client of the Prophet: The Prophet (ﷺ) said: If anyone says: "I ask pardon of Allah than Whom there is no deity, the Living, the eternal, and I turn to Him in repentance," he will be pardoned, even if he has fled in time of battle
Hadith No. 1517
Sunan Abu Dawud
Gradings:
Al-Albani:
Sahih
Muhammad Muhyi Al-Din Abdul Hamid:
Sahih
Shuaib Al Arnaut:
Sahih Lighairihi
Zubair Ali Zai:
Hasan