Ukrainian student Pavlo Lapshyn, 25, told police he murdered frail Mohammed Saleem, 82, because he hated "non-whites".
Pensioner and father-of-seven Mr Saleem, who walked with a stick, was stabbed three times yards from his house as he walked home alone after worship on April 29.
Lapshyn told police that he had wanted to stab him in the heart. While he was at large for the killing, he planted three bombs near mosques in Walsall, Wolverhampton and Tipton in the West Midlands. The third device, which exploded near the Kanzul Iman mosque in Tipton, was stuffed with shrapnel.
It was only because Lapshyn got the time wrong for Friday prayers that the blast did not cause mass injuries.
Passing sentence yesterday, Mr Justice Sweeney told him: "You clearly hold extremist right wing, white supremacist views and you were motivated to commit the offences by religious and racial hatred in the hope that you would ignite racial conflict and cause Muslims to leave the area where you were living.
"Such views, hatred and motivations have no place whatsoever in our multi-faith and multicultural society."
Mr Justice Sweeney read Mr Saleem's daughter Shazia Khan's victim impact statement, which said the effect of her father's violent death was "a rollercoaster experience where the ride will never end".
She said: "The shock and sadness of the reality is impossible to accept, yet alone accept and move on. We can't move forward, the murder has disabled our minds in every emotional way possible.
"Dad did not die of old age or illness, he died because he was stabbed violently in the back by a gutless coward who did not have the courage to face him before he took his life away."
She said her mother could not accept the death of her husband of more than 50 years, and was haunted by thoughts that she could have saved him.