Mushākalah occurs when one matter is described using the word for another because the two occur in actual or implied company. A word may recur in a similar outward form, but the intended sense at each occurrence need not be identical.
وهي ذكر الشيء بلفظ غيره لوقوعه في صحبته
It is mentioning a thing in the expression used for another because of their association in the context.
Two elements are essential: the meaning actually intended and the borrowed expression whose companionship motivates that wording. Mere repetition of a word in the same literal sense would not establish mushākalah.