The 28-year-old Pakistani prisoner, who was admitted to a government hospital on September 29, succumbed to the disease a day later, Jail Superintendent R K Sharma said.
The Pak national, a chronic patient of tuberculosis, was arrested from Ferozepur border area on September 20 in 2007 for entering India without passport and visa, Sharma said.
At the time of his arrest, he was found mentally unstable, the Jail Superintendent said adding his name could not be known as he was deaf and dumb.
"After getting directions, his last rites may be performed here according to Muslim traditions or the body may be handed over to Pakistan," he said.