When the three boys arrive at the stable and find the horse, they take it back to their uncle and thank Ibn Battuta for the help.