It may be stated somewhere but I cannot remember reading it.
Beren had the ring, likely passed it to Dior and from Dior to Elwing.
Then it could have been passed to Elrond or Elros.
If Elros, it likely went to the Lords of the Andunie via Silmarien (eldest child of Tar Elendil) and then probably Elendil or Isildur brought it to Middle Earth. From there it would pass father to son.
If Elwing gave the ring to Elrond it would have been much simpler, Elrond would simply keep it in Rivendell and give it to Aragorn.
I seem to recall about the ring being in Rivendell but in both cases that's possible. It's possible that after the death of Isildur, or the destruction of Arthedain the ring will be keep safe in Rivendell.
Beren had the ring, likely passed it to Dior and from Dior to Elwing.
Then it could have been passed to Elrond or Elros.
If Elros, it likely went to the Lords of the Andunie via Silmarien (eldest child of Tar Elendil) and then probably Elendil or Isildur brought it to Middle Earth. From there it would pass father to son.
If Elwing gave the ring to Elrond it would have been much simpler, Elrond would simply keep it in Rivendell and give it to Aragorn.
I seem to recall about the ring being in Rivendell but in both cases that's possible. It's possible that after the death of Isildur, or the destruction of Arthedain the ring will be keep safe in Rivendell.

