In order for the heat to be transferred from the body X to the body Y via conduction, there must be a difference in temperature of body X with respect to body Y. Body X must have a higher temperature than body Y. This process continues until both bodies arrive at thermal equilibrium, meaning they both have the same temperature.