It is narrated from Sayyiduna Jarir (may Allah be pleased with him): "Sayyiduna Umar (may Allah be pleased with him) was leading the people in prayer when something came out of a person (that is, he passed wind). Sayyiduna Umar (may Allah be pleased with him) said (after the prayer): 'I make it binding on the one who did this that he perform ablution and repeat his prayer.' At this Sayyiduna Jarir (may Allah be pleased with him) said: 'Will you not make it binding on all those who heard it to perform ablution and repeat the prayer?' (so that the man's fault might be covered). Sayyiduna Umar (may Allah be pleased with him) said: 'You have said something excellent. Jazak Allahu khayran (May Allah reward you with good).' So he gave this same order to all of them."
I say: its narrator Mujalid is da'if (weak).