You shouldn't need to stretch before or after a 3 to 4 mile ride and certainly not in the middle of it. If you are uncomfortable riding that distance the problem is more than cycling related. Even with a poor bike fit that distance should be unremarkable for any normal adult. Work on fitness and flexibility off the bike. Walking and yoga will bring faster results.