shaking legs

Shaking one's legs when sitting

Q: My question is that whether it is haram or anything difficulties weather telling in Islam shaking your legs while sitting on bed or any anywhere like on chair Suraj about the reality behind this is it true or not some people says keep shaking legs while sitting on bed is the act of illness or will come illness in your home at your home please suggest or give me justify answer in the light of Islam or an hadees thank you so much.

Shaking one's legs while sitting

Q: When I was young, I heard from the person who taught me how to read qur'an, that shaking your leg while sitting shouldnt be done. He said that its not haram but it shouldn't be done because satan does it. Now, everyone I know says they have never heard of this and I can't find anything online. My question is, is it true that you shouldn't shake your leg while sitting?