On Wednesday night, doctors brought Mohammad's misery to an end after a one-and-a-half hour operation to remove the object.
"Thanks Allah, now I feel comfort. Today, I had my breakfast. I was just drinking water, nothing else," Mohammad, a grey-beared man in his mid-40s, told Reuters from a hospital bed in the southern central city of Multan.
"We had to take it out intact," said Dr. Farrukh Aftab at Nishtar Hospital. "Had it been broken inside, it would be a very very complicated situation."
Mohammad, who is serving a four-year sentence for making liquor, prohibited for Muslims, said he was shocked when he was first told the cause of his discomfort. He swears he didn't know the bulb was there.
"When I woke up I felt a pain in my lower abdomen, but later in hospital, they told me this," Mohammad said.
"I don't know who did this to me. Police or other prisoners."
The doctor treating Mohammad said he'd never encountered anything like it before, and doubted the felon's story that someone had drugged him and inserted the bulb while he was comatose.