In half-kneeling next to a wall. The shin of the rear leg is placed against the wall and the knee on the floor, close to the wall.
Bring your upper body to upright and straighten the hip of the rear leg. Feel the stretch in the front thigh and hip flexors.
Note: Avoid hyperextension from your lower back, because then the stretch is not as effective on the target muscles.