In Avengers: Endgame, Thor brings back Mjolnir (his hammer) from the past to his “future” self through the quantum tunnel. Later in the movie, Captain America gets hold of it being worthy.
However, I don’t remember if Cap takes it back to the past in the climax. If he doesn’t – that would break the spacetime continuum, Mjolnir being destroyed in the past.
If he does bring it back, how come he knows the exact time and place to return?
Cap probably brings it back to the past.
I can’t provide a picture, but Mjolnir is seen at his side when he goes back to place the Stones in the past, and it’s nowhere to be seen when he gets back. I think he knew that thing had to be given back to time, to preserve the original “continuity”, and did so.
As to when and where to return, it’s not that hard to figure out: ask Thor when he picked it up, go to that very moment, sneak anywhere on Asgard, drop Mjolnir on the ground, go back to Peggy/the rest of the Infinity Stones. Past Thor can summon Mjolnir at will, and probably isn’t that much regardant of where he left it – the hammer will just zoom into his hands.