Moving finger continuously in tashahud
Question: When saying the tashahud, Darood Sharif, and other duas at the end of the salah, I move my finger up and down till I say Salaam. I read that it symbolizes the beating of the Shaytan. Can you tell me if this was practiced in the time of Rasulullah (S.A.W.) or if it is a newly invented matter?