Visas & permits
Sabah is semi-autonomous, and like Sarawak it has its own immigration controls. On arrival most nationalities are likely to be given a visa for three months’ stay (on top of any time they had previously spent in Peninsula Malaysia). It is rare to be asked to show money or onward tickets.
Visas can be renewed at immigration offices at or near most points of arrival. If you miss the expiry date you can report to another immigration office, even if it’s several days later, and explain your situation to the officials.