The accused -- Mohammad Hamish Azarhali Shaikh and Imtiaz Usman Menon -- were produced before Mazgaon court in Mumbai on January 15 in connection with separate cases against them, Thane Nagar police station's sub-inspector P T Kale said.
There, Menon allegedly got 15 gms of the drug from someone who came to meet him there. He then hid the contraband in his anus and smuggled it into the Thane jail, he said.
Menon handed over the drug to Shaikh which was detected by the jail guards yesterday, he said.