MIAMI — Authorities say an off-duty Florida police officer accidentally discharged his gun at a grocery store and grazed a nearby woman.

Miami-Dade police spokesman Chris Thomas says the shooting occurred Wednesday afternoon at a Kendall Publix.

Police say the city of Miami officer was standing in the checkout line and reaching in his pocket when the gun went off. The bullet ricocheted off the ground and hit a woman who was also standing in line.

Miami-Dade Fire Rescue responded and treated the woman at the scene.

City of Miami police spokesman Orlando Rodriguez says the department is conducting an internal investigation.