Majaz requires a relation between the assigned and transferred senses.

Haqiqah, Majaz, Sarih and Kinayah: Definitions and Rulings