The dying pedophile at the center of the Madeleine McCann investigation says he has an alibi for the night she vanished — but he has no plans to reveal it.

Speaking publicly for the first time, Raymond Hewlett admits he was in the Algarve, Portugal, at the time Madeleine disappeared but would not say where.

"I have an alibi but why should I share it?" he said in an interview with the Sunday Mirror. "There is a person who can say where I was that day, but why should I bring them into this? I've done nothing wrong. Why should I have to prove it?"

Click here for photos from the case.

Hewlett, 64, has been jailed three times for sexually assaulting young girls. He denies killing Madeleine — and said he would take a lie detector test to prove it.

"I'll take any test you like. The only time I've seen Madeleine McCann is on missing posters. And I saw her on TV in a bar once," he said.

"But I've never seen her in real life."

A former soldier who previously lived in the English towns of Blackpool and Telford, Hewlett has been receiving treatment for throat cancer in Aachen, Germany. But the Mirror claims he has just weeks to live after doctors told him there is nothing more they could do.

Madeleine was nearly four when disappeared in Praia da Luz in the Algarve on May 3, 2007. Her parents were dining with friends nearby.

Click here for more from Sky News.

Click here for the Mirror interview.