Stick in (one's)/the mind phrase
If something sticks in your mind, it has a permanent place in your memory, usually because it is so special, unusual, etc.
That last conversation we had stuck in my mind.
The things that stick in our mind are either traumatic or very dear to our hearts.
Her performance was so special that it stuck in my mind.
The day he won a gold medal in the Olympics stuck in his mind.
This phrase is usually used in simple present or past tense.
The origin of this phrase is not clear.
Come out of a difficult situation without a stain on one's character
I don't understand how he can fall in shit and come out smelling like a rose.