Sayyiduna Abdullah bin Umar (may Allah be pleased with them) narrates: The Prophet (peace and blessings be upon him) advised the one who laughed at the passing of wind and said: "Why does any man among you laugh at something that he himself does?"
Related hadith on this topic