A 3-month-old girl riding on BART with her parents on Saturday afternoon suffered a medical emergency and died.

According to BART spokesperson Chris Filippi, the baby was on a train headed for San Francisco International Airport when the incident happened at 12:52 p.m.

TRANSIT UPDATES: LIVE Muni, BART, Caltrain updates and alerts

The train was stopped at the Pleasant Hill BART Station and the girl taken by ambulance to a nearby hospital, where she died.

BART police do not believe foul play was involved, Filippi said.

Sam Whiting is a San Francisco Chronicle staff writer. Email: swhiting@sfchronicle.com