As a young medical student, he joined an Islamic student group but left when it turned militant. Today, he advises the British government on how to keep young British Muslims away from terrorists.