The only reference I can find is a danger of shigellosis food poisoning from raw, uncooked parsley. It’s not the parsley per se that causes the food poisoning but the contaminated water sitting on the parsley leaves. I would have thought that heating the leftovers decrease the danger of food poisoning rather than increase it.