Five people were injured when a car rear-ended a Toronto Transit Commission bus early Monday in Scarborough.

The collision happened in Malvern on Morningside Avenue near Halfway Avenue, which is located north of Sheppard Avenue West, at about 2 a.m.

The collision happened at around 2 a.m. on Morningside Avenue near Halfway Avenue. (Tony Smyth/CBC)

Firefighters at the scene cut the roof off the car to free a person who'd been trapped inside for 45 minutes.

Toronto police said several people were taken to hospital but none of the injuries are life-threatening.

Police said there is no indication that alcohol was involved in the collision.

In a tweet, police thanked passersby who assisted at the scene.

Crash: Morningside and Halfway Ave. Car vs TTC Bus. One trapped. 4 injured. <a href="https://twitter.com/Toronto_Fire">@Toronto_Fire</a> <a href="https://twitter.com/TorontoMedics">@TorontoMedics</a> working. <a href="https://t.co/BIZm5l1hrE">pic.twitter.com/BIZm5l1hrE</a> —@LateNightCam