So in the early universe where the universe was really small what would happen to a photon is it didn't collide with any material and made it to the edge of the universe? Because yes the big bang expanded faster than light at one point, but there must have been a point were the universes expansion rate was slower than the speed of light. So if a photon got to the edge of the universe what would happen?
The universe was not transparent to light until about 380,000 years after the Big Bang, because it was a hot ionized plasma. However, hypothetically, if a photon existed shortly after the Big Bang and happened to hit nothing ever, no matter how unlikely, then it would still be traveling in space. Of course, this photon would be dramatically reshifted and become a radio wave. Photons of Cosmic Microwave Background emitted 380,000 years after the Big Bang have redshifted by now approximately by 1,000 times. A photon existing since earlier conceptually would be redshifted much stronger and be difficult if even possible to detect.