That's when Jermaine -- who was a passenger -- and the others were patted down. Cops didn't find pot, but they DID find something that caught their eye ... a single Xanax pill in a plastic container, inside the pocket of one of Jermaine's friends.

Now get this ... Cops then requested K--9 dogs to sniff out contraband. In all, Jermaine says 5 cops cars arrived on scene, but turned up nada.

But it wasn't over yet. Cops were suspicious that the guy was in illegal possession of the pill. He insisted he had a prescription, but cops were suspicious. That's when someone in Jermaine's posse said he would go to the guy's home to get documentation he had a valid prescription. Time passed and the guy came back with the proof, and everyone went home.