Repentance from Sins Involving the Rights of Others
If the sin involves the rights of another person then what form should repentance take?
Praise be to Allah
The basis for the answer is the hadith of the Prophet (peace and blessings of Allah be upon him) who said: " «» (al-Bukhari).
Accordingly, the repentant can escape the questioning only by either giving back to the people wronged their due or seeking their forgiveness. If they forgive, he need not worry, but if they do not, then he must return their dues.
And Allah knows best.
(Excerpts from the book: I would like to repent BUT).
Islam Question and Answer Website