Does taking a ring or ribbon and rubbing it on the shrines and keeping it with you bring benefit? Or is it superstition? A lot of people when they go on ziyara they do this and bring back the items as gifts

It is a blessing in that it represents and is spiritually connected to the infallible. Thus, it can foster positivity and goodness, God willing.