If a person found a wallet and spent the money

A: Anyone who finds Luqatah (a lost item found by someone else) must advertise it in public places for one whole year, especially in the area where he found it. He should acquaint himself with the features that distinguish it from all similar objects. If the rightful owner is not found, he may give it in charity to the poor while intending to credit the reward to its rightful owner.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.