The story
The root ṣ-m-d gives samada, to stand firm and not give way. The same three letters make as-Samad in the Qur'an, one of the names of God, usually glossed as the eternal, the one all things lean on. Sumud is that verb turned into a noun for daily use.