Kamal Hussain, pictured, 28, of east London, was jailed for seven years for terror offences including collecting bomb-making material

A mobile phone worker who called himself 'Captain the illiterate' who collected bomb-making 'recipes' and plotted to 'kill smart people' has been jailed for seven years.

Mohammed Kamal Hussain, 28, from Whitechapel, east London, also created a Facebook profile where he encouraged others to join ISIS.

Police praised a 23-year-old man from Bosnia who tipped off British authorities when he received a message over Facebook trying to persuade him to aid the terrorist organisation.

The Bosnian had recently created a Facebook profile when he received the unsolicited post, saying: 'I message many people on the Facebook in order to stimulate them to join the ISIS.'

Investigators established the message was from Hussain, a Bangladeshi national, who had over-stayed his visa and was living in east London.

Hussain was denied an extension of his visa at the end of 2014 but continued to live and to work in Britain illegally.

They also discovered he had been sent a chemistry app by a contact via the Telegram social media service which offered a 'virtual laboratory' to 'mix chemicals in virtual containers'.

It added: 'When the explosion switch is on, all explosions will occur as in reality.'

He had also downloaded a recipe for a pipe bomb from an al-Qaeda magazine publication.

When police arrested Hussain in a car park near his work in Purfleet in Essex, they found he had an ISIS video called 'Procession of Light' which featured suicide bombers, including a young boy, saying their prayers, getting into a vehicle and being watched by a drone as they drove to a vehicle check point and then blew themselves up.

Hussain also had an open Facebook page which he used to encourage support for ISIS, including one entry that featured a picture of a child carrying a black ISIS flag and another from January last year that read: 'The West has been plundering our wealth for centuries. Now is the time for payback. In Sha' Allah, the chickens will come home to roost.'

After his arrest, Hussain claimed he was 'just doing what Facebook says to do and "share your mind".'

Hussain had at least four Facebook accounts, opening a new one each time the existing account was closed by the social media company.

The Judge Peter Lodder QC criticised the firm saying 'it may surprise some to know that the security services are unable to view private messages on Facebook', and had to rely on a screenshot instead.

He was found guilty of supporting ISIS and encouragement of terrorism.

He had previously been living in London for seven years and working in a mobile phone warehouse called the London Magic Store.

His student visa withdrawn after a bogus college he was attending in Whitechapel was shut down and he was contacted by the Home Office who labelled him an 'over-stayer' and ordered him to return home.

While he was attending a bogus college in Whitechapel, east London, it was shut down and his student visa withdrawn.

Using the name, 'Captain the illiterate', Hussain told one female contact, called Lujain Ahmed, 'I'm a simple man...I hate the smart people. Inshallah, I will be smart after I go to Paradise...before die, wanna punish some kuffar,' and added: 'I'm bored of this world.'

Asked in court how he came up with the name, Hussain told Naeem Mian QC, defending: 'It doesn't have any meaning, I just liked this name.'

Simon Davis, prosecuting, said it was plain that Hussain was 'aligned with Islamic State' and wanted to join them.

The court heard he made Google searches for 'suicide vehicle-borne improvised explosive devices' just two days after the Manchester Arena bombing.

Then on May 29, he looked for 'Ariana Grande' and 'Manchester attack concert' and, the next day, for 'ruling on blowing oneself up' and 'suicide bombings and martyrdom in Islam.'

On June 3, Hussain downloaded an image of the Queen and then searched for 'make terror into kafirs heart', followed the next day by 'London Bridge attack statement' from East London Mosque, the day after the attack.

Hussain had earlier told Ahmed: 'I will not be calm until I make hijrah [emigrate] and fight with the kuffar...Why my sisters not like u? I should kill them.'

Later the same day, he added: 'We should do something big' and on June 4, he expanded: 'If we cannot make hijrah [emigrate] then wherever we live fighting is coming upon us.

'If you live Bangladesh, UK, Middle East anywhere you go you have face fight...I believe this is the beginning of 3rd world war and it's will be end after killing dajjal [anti-christ].'

Detectives at the Counter-Terrorism Referral Unit trawled thousands of messages Hussain had sent on Facebook, Telegram and WhatsApp.

Commander Dean Haydon, head of Scotland Yard's SO15 Counter-Terrorism Command, said: 'This investigation started with one conscientious individual trusting his instincts and reporting something suspicious.

'He could have ignored the message Hussain sent him but instead he took a screenshot of the message and contacted the UK authorities immediately. It is in great part thanks to him that police were able to bring Hussain to justice.'

Hussain told police that he was both anti-Western and anti-Eastern, explaining that he meant 'governments, including my own Bangladeshi government in the East.'

He added: 'I love everything for the sake of Allah and I hate everything for the sake of Allah.'

Hussain's plan was to retrieve his passport from the Home Office and travel back to Bangladesh, before going on to Saudi Arabia to wait for 'Armageddon,' he explained in court.

He added he collected ISIS publications because 'I consider IS a sign of the end of days and I want to know about their ideology.

Hussain read one edition of Rumiyah, which had a guide to knife attacks 'for the ideological matter and their teachings and that sort of things, but I never read how to kill people with a knife,' he said.

His collection of extremist books were about religion, he added, claiming he was 'seeking the truth' but 'never planning an attack'.

But he added: 'I'm Muslim, I shouldn't like everything. I love everything for the sake of Allah and I hate everything for the sake of Allah, that's it.'

The judge told him: 'Far from observing the sacred covenant of security, you disseminated your twisted views and attempted to persuade others to join you in support of Islamic State.

'You glorified activity which strikes at the very heart of a civilized and democratic society.

'In no sense do your opinions represent the beliefs of decent, law abiding and peaceful Muslims who live in this country.'

Naeem Mian QC, defending, asked Hussain: 'You are an over-stayer and your passport is with the Home Office?'

'I don't have any option other than to go to Bangladesh,' he said.

Mr Haydon encouraged others concerned about online material to refer it to them via the website www.act.gov.uk