@Ant***
, he definitely got stamped in wrong (it happens quite a lot) and he needs to go to the immigration office to get the stamp corrected BEFORE he leaves the country.
It is the responsibility of the passport holder to make sure they were stamped in for the correct amount of time. :/