Malaysia will not allow foreigners to buy residential units built at the $100 billion Forest City project in Johor, Prime Minister Mahathir Mohamad said on Monday.