LessonsAl-Mustathnā: Connected and Disconnected Exceptions, Four Case RulesQuiz

وَإِنْ كَانَ بَعْدَ «غَيْرٍ وَسِوَى وَسَوَاءٍ وَحَاشَا» عِنْدَ الْأَكْثَرِ، كَانَ مَجْرُورًا.
Translation: If it follows ghayr, siwā, sawāʾ or ḥāshā, the majority analysis gives it the genitive.

The source lists ghayr, siwā, sawāʾ and ḥāshā with a following genitive noun in the majority analysis.
In «جَاءَنِي الْقَوْمُ غَيْرَ زَيْدٍ», Zaydin is genitive as the second term of an iḍāfa.
With «حَاشَا زَيْدٍ», Zaydin may be genitive after the preposition ḥāshā in this usage; it is not an iḍāfa like ghayr.

Opening interactive controls...

Rule 4: Ghayr, Siwā, Sawāʾ, Ḥāshā

Al-Mustathnā: Connected and Disconnected Exceptions, Four Case Rules

وَإِنْ كَانَ بَعْدَ «غَيْرٍ وَسِوَى وَسَوَاءٍ وَحَاشَا» عِنْدَ الْأَكْثَرِ، كَانَ مَجْرُورًا.
Translation: If it follows ghayr, siwā, sawāʾ or ḥāshā, the majority analysis gives it the genitive.

The source lists ghayr, siwā, sawāʾ and ḥāshā with a following genitive noun in the majority analysis.
In «جَاءَنِي الْقَوْمُ غَيْرَ زَيْدٍ», Zaydin is genitive as the second term of an iḍāfa.
With «حَاشَا زَيْدٍ», Zaydin may be genitive after the preposition ḥāshā in this usage; it is not an iḍāfa like ghayr.