Tohoros 5:3-4
Tohoros 5:3
Let’s say that there were two paths, one ritually unclean and one ritually clean. A person walked on one of these and then prepared ritually-clean foods that were then eaten. He was sprinkled on twice and immersed in a mikvah, purifying him, after which he walked on the other path and again prepared clean foods. In such a case, the second foods are ritually clean. If the first foods still exist, then both must be suspended (i.e., neither eaten nor burned). If he was not purified in the interim, then the first foods are suspended and the second foods must be burned.
Tohoros 5:4
Let’s say there was a dead vermin (which conveys impurity) and a dead frog (which doesn’t) in the public domain. A person touched one of these and then prepared ritually-clean foods that were then eaten. He then immersed in a mikvah, after which then he touched the other thing and again prepared clean foods. In such a case, the second foods are ritually clean. If the first foods still exist, both must be suspended. If he didn’t immerse in the interim, the first foods are suspended and the second foods must be burned.