Arabic grammar (النحو العربي) is the grammar of the Arabic language. Arabic is a Semitic language and its grammar has many similarities with the grammar of other Semitic languages. Classical Arabic and Modern Standard Arabic have largely the same grammar; colloquial spoken varieties of Arabic can vary in different ways.
The largest differences between classical and colloquial Arabic are the loss of morphological markings of grammatical case; changes in word order, an overall shift towards a more analytic morphosyntax, the loss of the previous system of grammatical mood, along with the evolution of a new system; the loss of the inflected passive voice, except in a few relict varieties; restriction in the use of the dual number and (for most varieties) the loss of the feminine plural. Many Arabic dialects, Maghrebi Arabic in particular, also have significant vowel shifts and unusual consonant clusters. Unlike in other dialects, first person singular verbs in Maghrebi Arabic begin with a n- (ن). This phenomenon can also be found in the Maltese language, which itself emerged from Sicilian Arabic.
The identity of the oldest Arabic grammarian is disputed; some sources state that it was Abu al-Aswad al-Du'ali, who established diacritical marks and vowels for Arabic in the mid-600s, Others have said that the earliest grammarian would have been Ibn Abi Ishaq (died AD 735/6, AH 117).
The schools of Basra and Kufa further developed grammatical rules in the late 8th century with the rapid rise of Islam, using Quran as the main source for Arabic grammar rules. From the school of Basra, generally regarded as being founded by Abu Amr ibn al-Ala, two representatives laid important foundations for the field: Al-Khalil ibn Ahmad al-Farahidi authored the first Arabic dictionary and book of Arabic prosody, and his student Sibawayh authored the first book on theories of Arabic grammar. From the school of Kufa, Al-Ru'asi is universally acknowledged as the founder, though his own writings are considered lost, with most of the school's development undertaken by later authors.