Firstly: You should realize that the mercy of Allaah is greater than anyone can imagine. Allaah says (interpretation of the meaning):
“and My Mercy embraces all things”
And it was narrated from Abu Hurayrah (may Allaah be pleased with him) that the Messenger of Allaah (peace and blessings of Allaah be upon him) said: “Allaah has one hundred degrees of mercy, of which He sent down one among the jinn, mankind, the animals and the vermin, by virtue of which they show compassion and mercy to one another, and the wild animal shows compassion to its young. But Allaah has kept behind ninety-nine degrees of mercy by virtue of which He will have mercy on His slaves on the Day of Resurrection.” Narrated by Muslim, 2752.
A person repented from killing one hundred souls, as was narrated in the saheeh hadeeth from the Messenger of Allaah (peace and blessings of Allaah be upon him) (narrated by Muslim, 2766), and stealing is not more serious than killing. So congratulations for your repenting and turning to Allaah.
Secondly: The scholars stated that there are three conditions of repentance: giving up the sin, regretting what is past, and resolving not to go back to it.
You should understand that rights are of two types: the rights of Allaah and the rights of other people. The rights of Allaah are waived when one repents, except in the case of financial dues such as zakaah, kafaarah (expiation) and vows – according to the correct opinion.
See Rawdat al-Taalibeen, 11/246; Kashshaaf al-Qinaa’, 2/257.
With regard to the rights of other people, the scholars added a fourth condition to repentance, which is that people’s rights should be restored to them, and that repentance is not sufficient to waive any of the rights owed to others, rather the rights of the one who has been wronged must be restored.
This was mentioned by Ibn Qudaamah, al-Nawawi, Ibn al-Qayyim, Ibn Hajar and others. See: al-Mughni, 14/193; Rawdat al-Taalibeen, 11/245-246; Madaarij al-Saalikeen, 1/396; Fath al-Baari, 11/104.
Thirdly: What you mention about not being able to return the money is no justification for taking this matter lightly. Try to collect the money from halaal sources such as gifts, work that is Islamically acceptable, and so on. Allaah will help you with that if He knows that you are sincere, as He says (interpretation of the meaning):
“And whosoever fears Allaah and keeps his duty to Him, He will make a way for him to get out (from every difficulty).
And He will provide him from (sources) he never could imagine”
Then give this money to its rightful owner and tell them frankly, if that will not cause embarrassment or lead to harmful consequences; if being frank will cause too much embarrassment, then you can give it to them in a way that will not cause any trouble between you and them. See question no. 45016.
If you cannot return the money because the amount is too great and you cannot afford it, then you can ask the owners to forgive you. Seek the help of Allaah in that and put your trust in Him.
“And whosoever puts his trust in Allaah, then He will suffice him”
If you cannot do that either because you do not know who the owner is, for example, then we hope that Allaah will forgive you.
Al-Nawawi (may Allaah have mercy on him) said: If the sin has to do with financial duties, such as withholding zakaah, seizing property by force and crimes against people’s wealth, then as well as that (repentance) the duty must also be discharged, such as paying zakaah, returning people’s wealth to them if it is still present or paying them the equivalent otherwise, or asking the person to whom it is owed to let him off. If the person has died, then it should be given to his heir; if he does not have an heir or he cannot be found, then the matter should be referred to a qaadi of good character.
If that is not possible, then it should be given in charity to the poor with the intention of also paying it back if he (the one who took it) finds him; if he is poor then he should have the intention of paying it back if he can. If he dies before he can pay it back, then there is the hope that Allaah will forgive him by His grace.
Rawdat al-Taalibeen, 11/246.
And Allaah is the Source of strength.