When Moroccan traveller Ibn Battuta visited Bayana in the 14th century, he found it as a thriving urban centre.