jermaine dupri*Stop us if you’ve heard this story before.

You’re cruising around Miami Beach at 3:30 or so in the morning and cops pull you over because the tint on your Lincoln is “too dark.”

Well, that’s what happened to music producer Jermaine Dupri early this morning.

According to the police report — obtained by TMZ — Miami Beach cops smelled “a strong odor of marijuana” inside the car.

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 that wasn’t the end of it.  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.