From the link that I posted if you can't find the example:
In play:
Mishra, Artificer Prodigy and any counter spell effect, lets say
Nullstone Gargoyle or
Planar ChaosIn hand:
Sol RingStep 1: Cast
Sol Ring Step 2: Stack
Mishra's trigger first, then the triggered counter spell effect on top.
Step 3: Resolve the counter spell, countering
Sol Ring, placing it in grave.
Step 4: Resolve
Mishra's trigger, search your grave for a copy of
Sol Ring, put it into play for free.