Malaysia is a country with laws and those who break them will be punished, said former deputy prime minister Muhyiddin Yassin.