Alfiya is a classic work by Al-Allamah Muhammad bin Abdullah bin Malik Al-Andalusi about arabic grammar explained in approximately 1000 lines of poetry.