Is it safe to let prosciutto and parmesan rise in bread dough overnight?
Parmigiano and Prosciutto are made to be stored for long times. 24 hours out of the fridge are ok, and if you have any doubt, remember you're still cooking them in a very hot oven.

BTW cover them somehow in order to avoid any contamination from insects or similar.