A:
It is obligatory on those in paid occupations to perform their work in the required way. Besides, in case they do not do so without having a legal excuse, it is impermissible for them to receive salaries, for this is regarded as receiving salaries for doing nothing. (Part No. 15; Page No. 154) Accordingly, you have to make Tawbah (repentance to Allah), not repeat what you have mentioned in the question, be honest in your work, and give Sadaqah (voluntary charity) of a value that equals the undue salary that you received. May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.