فلا ينافي التأويل الذي ذكرناه لان هذا الخبر محمول على انه إذا لم يعلم في حال الصلاة وكان قد سبقه العلم بحصول النجاسة في الثوب وجب عليه حينئذ إعادة الصلاة
So this does not contradict the interpretation we have mentioned, because this report is to be understood as referring to a case where the person was unaware of the impurity at the time of prayer. However, if he had known previously that impurity had affected the garment, then it would be obligatory for him to repeat the prayer.