Former premier Dr Mahathir Mohamad said hudud law must apply to non-Muslims as well in order for its implementation to be fair, in accordance with the tenets of Islam.