The answer to this is it depends on the level of pain you are experiencing. You also need to rule out that it is really a muscle pull and not something serious like a bone fracture, muscle tears or tendon injury.
Normally muscle pull occurs on the lower part of our body- anywhere from the hip to all the way down to our feet. Common reason for getting muscle pull is through a certain jerk movement when the muscles are not warmed up or rigorous exercise without proper warming up.
Once, I experienced a muscle pull. Actually I have not been working out at night time for a few weeks. I have transferred my workouts too morning time as I have made the changes- avoid bathing after the sun sets or after gym. But due to inability to wake up at times, guilt set in and I finally decide to go at night.
When I did my usual set of cardio, core strengthening exercises, strength training on the lower part of my body. After the strength training, I did some running on the treadmill for about 10 minutes.
The next morning, I started feeling a mild muscle pull on my left leg. By night time, the pain got worst. For the next one week, the pain woke me up from sleep at 2am or 3am- the pain shot from my right butt all the way to my knees and feet. It is unusual for me to have muscle pull because I’ve always warm up and cool down well- that’s why my sessions normally last between 1.5 to 2 hrs (I also love exercising).
Anyway, the experience have taught me that it is possible to continue to work out when there is a muscle pull on the lower torso but: