Which are the two terms of a simile?

ʿIlm al-Bayān and the Foundations of Tashbīh: Signification, Terms and Resemblance