He's accused of indecent exposure, indecent assault and false imprisonment of a 17-year-old girl he previously dated at Strath Haven High School in Nether Providence Township last month.
Authorities say he forced her into his car and tried to make her perform a sex act.
Shahadi remains in jail.