Former Malaysian premier Dr Mahathir Mohamad says Muslim nations should posses nuclear weapons to deter potential enemies from attacking them.