Then Adam received from his Lord [some] words,1 and He accepted his repentance. Indeed, it is He who is the Accepting of Repentance,2 the Merciful.
Translation: Saheeh International (English)
1 Allāh taught Adam words of repentance that would be acceptable to Him.
2 Literally, He who perpetually returns, i.e., reminding and enabling His servant to repent from sins and then forgiving him. Thus, He is also the constant motivator of the repentance He accepts.
ٱلتَّوَّابُ(is) the Oft-returning (to mercy)l-tawābu
ٱلرَّحِيمُthe Most Mercifull-raḥīmu
Tafsir
Adam received the words given to him by Allah, and was inspired to ask for forgiveness with them. These words of forgiveness are mentioned in Sūrah Al-A‘rāf: 23: ‘They said, “Our Lord, we have wronged ourselves. If You do not forgive us and have mercy on us, we will certainly be of the losers”’. Allah accepted Adam’s turning to Him and forgave him, for He is always forgiving and Merciful towards His creation.