Why did the Heat retire Jordan's jersey?

Jordan played for two teams, the Bulls and the Wizards, in his life. He has retired with the Wizards, so he has not contributed much. However, he created a dynasty during the Bulls' period and there is no doubt that he retired his jersey.

However, the Heat also retired Jordan's jersey. Jordan never played for the Heat, so why did they retire Jordan's jersey?

Riley explained that because Jordan really defeated Riley and defeated Riley's team 4 times in the playoffs, when Jordan played in Miami for the last time, the Heat held Jordan's jersey retirement ceremony. This is Give your opponent the utmost respect.