It happened around 5:15 Saturday morning near the 1600 block of JFK Boulevard in Center City.
Initial reports indicate that the victim - in his 20s - fell off a train platform and got stuck.
Firefighters worked to free the man and he was taken to Hahnemann Hospital in stable condition.
Police are still investigating what lead to the incident.