وإنما أراد لا صلاة فاضلة كثيرة الثواب دون أن يكون أراد نفي الاجزاء على كل وجه.
What is intended here is not the absolute invalidity of prayer elsewhere, but rather that such prayer lacks the greater virtue and abundant reward associated with praying in the mosque. It does not negate the validity of the prayer in other places in every sense.