Mohamed Mohamoud, 22, travelled to Somalia in a bid to join IS after viewing extreme material on social media.