Islam is a religion of mercy and forgiveness. If someone has engaged in gambling without money out of ignorance, they can repent, seek forgiveness from Allah, and commit to avoiding such actions in the future. The important thing is to recognize the mistake, make amends, and strive to adhere to Islamic teachings going forward.