It’ll come as no surprise that your thighs are one of the most active muscles whilst you are cycling.
To stretch stand, using support if you need, and take one leg up behind you supporting your ankle with your hand on the same side. With your knee bent up and legs together, gently draw your leg backwards so you are aiming for both thighs to be together. Don’t let your back arch or your knee come out to the side.