Haidar Hami, 22, frog-marched his victim through Hull Mosque and Islamic Centre and forced his head down to demand: "Are you going to pray now?"
The victim, who was already bleeding from cuts to his cheeks and face.
But using just the power of speech, Ebrima Touray, 45, and his fellow worshippers managed to distract the attacker and snatch the serrated knife to prevent a sickening attack.
Mr Touray thwarted the attack which took place in a Hull mosque
I knew I had to help when I saw what was happening
Mr Touray, 45, said: "I was at the mosque praying when I saw this guy walk in with his shoes on.
"Shoes are not allowed to be worn in any mosque and one of my friends kept telling him, 'No shoes, no shoes'.
"When I looked back he hadn't left but instead closed the door and that's when I saw the knife in his hand.
"I saw the guy with him had a slice on his face, so I asked him, 'Who did that to you? Did he do this to you?'
The attack took place inside the mosque in Hull
"He nodded, so I told [Hamid] to put the knife away. At that point he said, 'This is my knife', and put it in his pocket.
"My friend at the mosque was speaking Arabic [to Hamid] so I told him to keep his concentration and keep talking to him. That's when I managed to grab the knife off him.
Get Quotes on Home Insurance
"He ran off so I called the police and I saw a guy pull up in a car shouting his name, and I told him he wasn't taking him anywhere.
"He said he was from his hostel, but I wasn't having that. He hadn't protected him when he left with this guy with a knife, so I wasn't going to let him protect him now."
Mr Touray, a security guard for St Stephen's Shopping Centre in Hull said his 14 years' as a security guard helped him defuse the situation.
He said: "I knew I had to help when I saw what was happening.
"If I didn't he could have easily gone out and hurt someone in the street.
"My job helped me in the situation, because I knew what to do. I don't think I would have gone as near him if not.
"But I think everyone needs to help out in some little bit when these things happen.
"I have been visiting this mosque for years and this is the first time anything like this has happened.
"This is a community we all have to live in."
When Hamid was interviewed by police following the incident, he said he was going to kill the man with one of the knives and, when asked why, said: "To stop him doing bad things to me."
He admitted kidnap, assault occasioning actual bodily harm and threatening with an offensive weapon during the incident on September 9 last year.
Judge Peter Kelson QC commended Mr Touray and fellow worshipper, Taha Mohammed, for their "extremely remarkable courage".
Hamid, from Hull, was sentenced to 10 years in jail on Tuesday.
Imam Hafiz Salik said: "We have never had anything like it and we have been there for more than 30 years."