The UAE has condemned the terrorist attack that targeted a hotel in the Somali capital, Mogadishu, which resulted in numerous deaths and injuries.