Hazrat Ali (may Allah be pleased with him) considered it undesirable to pray at a place where dung has been thrown.