Mushabbah and mushabbah bih are the two terms; the marker and shared aspect explain their relation.
The Definition of Simile, Related Metaphorical Forms, and Its Four Elements
The Definition of Simile, Related Metaphorical Forms, and Its Four Elements