Right wing extremists attempted to hijack the death of the soldier, claiming that it was motivated by race and religion on websites.

But Detective Inspector Ally Wright, of Warwickshire Police , said: “I am aware that some social media outlets are suggesting the tragic death of David Ryding, a former soldier, was motivated by either race or faith.

“While the criminal investigation is ongoing it would be inappropriate to provide full details of the case at this time.

“However what is absolutely clear is that the incident was not remotely motivated by race or faith.

"Whilst I am unable to prevent such speculation on the Internet at source I would ask those who engage in Internet hypothesis conversations to consider the impact on David’s family.”

The detective spoke out as the family and friends of drummer Lee Rigby prepared to bury the 25 year-old Fusilier who was killed in Woolwich.

Far-right EDL leader Tommy Robinson urged its members to stay away from the funeral after members were previously accused of stirring up anti-Muslim feeling over Lee’s death.

Matthew Collins, a spokesman for anti-racism campaign Hope not Hate, said websites inciting hatred with speculation over crimes should be held to account.

He said: “The government has a responsibility to ensure people who try to whip up hatred on the back of unfortunate incidents are held to account.”

David’s wife Nicola described her husband as “a true hero” after taking the heartbreaking decision to switch off his life-support machine at University Hospital Coventry and Warwickshire. She also appealed for people not to speculate about his murder.

“He was a fun loving character and the world will not be the same without him,” said Nicola. “He served for our country alongside many and I was so proud to call him my husband. He was always trying to better himself, to provide a better life for me and our daughter.

“All he ever wanted was to be surrounded by his loving friends and family and would be so proud knowing that the people he loved most came together for his final hours.

“Mollie and myself will miss David dearly, our hearts have been shattered.

“Can I please ask that people do not speculate about what happened that night as the events from that night will become clear following the investigation.”

David had signed the organ register and his death has led to three lives being saved through organ donation.

Nicola said there was a “small comfort knowing others have gained a new lease of life” after the donation.

A 21-year-old remains on police bail after being arrested on suspicion of murder last week.