Ullah is reported to be in a serious condition in hospital after suffering burns in the explosion.
Three other people suffered minor wounds in the blast during rush hour.
The suspect was taken into custody after the device partially exploded.Ullah acted alone, police said, adding that the explosion was recorded on surveillance video.
No group has claimed responsibility for the explosion so far, though it is being treated as terror-related.