* Stars are not within the solar system. Our solar system consists of the Sun and the objects that orbit it (planets, moons, asteroids, comets).
* Stars are much farther away. The nearest star to our Sun is Proxima Centauri, which is about 4.24 light-years away. That's a *huge* distance compared to the distances between planets in our solar system.
To put it in perspective:
* The distance between Earth and the Sun is about 93 million miles (150 million kilometers).
* The distance between the Sun and Proxima Centauri is about 25 trillion miles (40 trillion kilometers)!
Therefore, there's no meaningful "average distance between stars in the solar system" because stars are not part of the solar system.
If you're interested in the average distance between stars in the Milky Way galaxy, that's a different question!