It is narrated from Sayyiduna Ali bin Abi Talib (may Allah be pleased with him) that he said on the pulpit: "O people, I certainly heard the Messenger of Allah (peace and blessings be upon him) say: 'Nothing breaks the prayer except hadath (that which breaks ablution). I do not feel shy before you in a matter about which the Messenger of Allah (peace and blessings be upon him) did not feel shy: hadath is the passing of wind (from behind), whether without sound or with sound.'"
I (al-Busiri) say: Abdullah bin Ahmad bin Hanbal recorded it.