Place the puff pastry side by side to defrost, then cut in the middle so that you get 6 squares. Press the pastry sheets into the hollows of a muffin tin.
Lightly fry the ham cubes in a pan without fat, then let cool down a little. Put in a bowl, mix with the cheese, cream, egg and herbs and pour into the puff pastry bowls.