Shaykh al-Islām—may Allah sanctify his soul—also said:
Section
People have differed over “the Friday prayer and the two Eid prayers”: is residence a condition for them, or may they be performed while travelling? There are three views:
First: Residence is a condition for both, so neither is prescribed while travelling. This is the view of the majority and the position of Abū Hanīfah, Mālik, and Ahmad, according to the stronger of the two opinions reported from him.
Second: Residence is a condition for the Friday prayer, but not for the Eid prayer. This is the view of al-Shāfiʿī and of Ahmad according to the second opinion reported from him.
Third: Residence is not a condition for either, as some of the Zāhirīs maintain. Their principal evidence is the unrestricted wording of the command, His words, “When the call is made,” and similar passages. They claimed that nothing in Islamic law requires restricting this to residents.
Those who distinguished between the Friday and Eid prayers said: The Eid prayer is either voluntary or obligatory on