Malaysian Prime Minister Mahathir Mohamad said Monday he was scrapping a project to build a high-speed railway to Singapore, in an ominous sign for the neighbours' famously fractious relationship.