Shyam Behari Ram, who inadvertently crossed over to the Pakistani territory a few days ago, had been apprehended on the working boundary at Pukhlean Sector, Pakistan army said in a statement.
"Today the Pakistan Rangers have handed him over to Indian authorities on humanitarian grounds," it said.
He was handed over the Border Security Force (BSF) at the Wagah border.
Ram was thoroughly interrogated by Pakistani intelligence agency but it was not proved that he was a spy, according to a source.