“Show genuine regret, acknowledge that you wronged yourself, and then appeal to God for forgiveness.”
And he entered the city at a time of unawareness of its people: and he found there two men fighting, - one of his party (his religion - from the Children of Israel), and the other of his foes. The man of his (own) party asked him for help against his foe, so (Moses) struck him with his fist and killed him. He said: "This is of (Satan) doing: verily, he is a plain misleading enemy." He said: "My Lord! Verily, I have wronged myself, so forgive me." Then He forgave him. Verily, He is the Oft-Forgiving, the Most Merciful.
And to Allah belongs the sovereignty of the heavens and the earth. He forgives whom He wills, and punishes whom He wills. And Allah is Ever Oft-Forgiving, Most Merciful. [Qur’an 48:14]
[Qur’an 28:15-16] (Asad)
ﻦﻫﺬﹶﺍ ﻣ ﻥ ﻠﹶﺎﺘ ﹾﻘﺘﻴ ﹺﻦ ﻳﻠﹶﺭﺟ ﺎﻴﻬﺪ ﻓ ﺟ ﻮ ﺎ ﻓﹶﻬﻠ ﹶﺃﻫﻣﻦ ﺔ ﲔ ﻏﹶﻔﹾﹶﻠ ﺣ ﹺ ﻠﹶﻰﻨﺔﹶ ﻋﻳﻤﺪ ﹶﻞ ﺍﹾﻟﺩﺧ ﻭ ﻩ ﺰ ﻛﹶ ﻓﹶﻮﻭﻩ ﻋﺪ ﻣﻦ ﻱﻠﹶﻰ ﺍﱠﻟﺬ ﻋﺘﻪﻴﻌﻦ ﺷﻱ ﻣ ﺍﱠﻟﺬﺎﹶﺛﻪﻐﺘ ﻓﹶﺎﺳﻭﻩ ﻋﺪ ﻣﻦ ﻫﺬﹶﺍ ﻭ ﺘﻪﻌ ﻴﺷ (28:15) ﹺﺒﲔﻞ ﻣ ﱞﻀﻭ ﻣ ﺪ ﻋ ﻪ ﹺﺇﻧﻴﻄﹶﺎﻥﻞﹺ ﺍﻟﺸﻋﻤ ﻦ ﻣ ﻫﺬﹶﺍ ﻪ ﻗﹶﺎﻝﹶ ﹶﻠﻴﻰ ﻋﻰ ﻓﹶﻘﹶﻀﻮﺳﻣ (28:16) ﻴﻢﺮﺣ ﺍﻟﻔﹸﻮﺭﻮ ﺍﹾﻟﻐ ﻫﻧﻪﻪ ﺇﹺ ﹶﻟﻐﻔﹶﺮ ﻲ ﻓﹶ ﻟﺮ ﹾﻔﺴِﻲ ﻓﹶﺎﻏﹾﻔﺖ ﻧ ﻤ ﻲ ﻇﹶﹶﻠ ﺇﹺﻧﺏﻗﹶﺎﻝﹶ ﺭ
ﺎﺀﺸﻦ ﻳﻤﺮ ﻟ ﻐﻔ ﻳ ﺽﹺﺍﻟﹾﹶﺄﺭﺕ ﻭ ﺍﺎﻭﻤ ﺍﻟﺴﻠﹾﻚﻪ ﻣ ﻠﱠﻭﻟ (48:14) ﺎﻴﻤﺭﺣ ﺍ ﹶﻏﻔﹸﻮﺭﻛﹶﺎ ﹶﻥ ﺍﻟﻠﱠﻪﺎﺀ ﻭﺸﻦ ﻳ ﻣﻌﺬﱢﺏ ﻳﻭ firstname.lastname@example.org