Sit against the wall with one leg slightly bent.
Wrap a stretch strap or towel around your ankle and pull the heel towards the hips.
Seated Quad Stretch 运动指南 - Quads 锻炼 | MuscleWiki