How long does it take a torn sartorius muscle to rehabilitate?

Depends. It would depend on the severity of the tear, your overall health, your prescribed therapy and your own inate ability to heal. It could be anywhere from a couple of weeks to 6 weeks or more. Get a good evaluation from an orthopedist or a sports medicine specialist and perhaps a physical therapist dealing with sports injuries.