Enable geo-fencing

Geofencing is a virtual perimeter for a real-world geographic area in this case your office. If you activate this feature, your employee should clock in and clock out within the radius boundaries.
 
Go to HR Hub > Settings > Company settings > Select location & branch > Edit Geo-fencing > Enable geo-fencing and set location & radius

 Geo-fencing

 

  

See also, how to set up my office location