All praise is due to Allah, and peace and blessings be upon our master, the Messenger of Allah.
An employee is religiously obligated to abide by the instructions and regulations pertaining to overtime hours. Furthermore, it is mandatory to adhere to honesty and avoid deceit, circumvention, and falsehood. Allah Almighty says (what means): "O you who have believed, be conscious of Allah and be with those who are truthful."
(At-Tawbah/119).
Therefore, whoever is assigned to work overtime must remain present at the designated workplace, even if no active tasks are required of them during that time.
Likewise, the official authorized to approve overtime work must comply with all established conditions and regulatory guidelines. It is impermissible for them to grant overtime hours in violation of system regulations. Should any compensation be disbursed in contravention of these official rules, it is unlawful to accept or consume such wages. And Allah Almighty knows best.