Abu Nuwas
The first known exponent of the "muʿammā" form seems to have been the major classical poet Abu Nuwas, though other poets are also credited with inventing the form: Al-Khalil ibn Ahmad al-Farahidi (noted for his cryptography) and Ali ibn Abi Talib.