Please contribute generously in order to ensure the continuity of our website InshaAllah.
Praise be to Allah.
There is no doubt that you are required to be present for the hours agreed upon in your work contract, and there are no exceptions apart from occasions when permission is given for work purposes or for some need.
Based on this, you should inform your superiors of the situation, and if they give you permission to go home, then you may go home, otherwise you have to go back to the office.
And Allaah knows best.