A gay man whose beaten and burned body was found near an Ayrshire industrial estate last weekend had been questioned by police over an alleged child indecency incident.

Stuart Walker, a barman from Cumnock, was found dead in the early hours of Saturday morning. Police said he had suffered “horrific” injuries.

It has been revealed that Mr Walker was questioned several weeks before his death over an alleged incident involving a 12-year-old boy in August.

A report was sent to the procurator fiscal.

Police said there did not appear to be any link between the allegations and Mr Walker’s murder.

A Strathclyde Police spokeswoman told Press Association: “There was a report sent to the procurator fiscal in relation to an alleged indecency on a 12-year-old boy.

“There’s no suggestion that this incident is in any way connected to the murder.”

Detectives said this week that Mr Walker’s “lifestyle” is the “main focus” of the inquiry and that they have not ruled out a homophobic motive for the attack.

Chief Superintendent John Thomson said there was a “possibility” that he had been sexually assaulted before being killed.

Yesterday, prime minister David Cameron urged the public to help police with their inquiries after

Labour MP Sandra Osborne (Ayr Carrick and Cumnock) raised the issue in the House of Commons.

Mr Cameron said: “It was once said that the police are the public and the public are the police.

“The police cannot solve crimes without the help of the public and I hope everyone will cooperate in the best way they can.’