Spray the mold with cooking spray. Divide the ham and cheese between the cavities.
Blend the eggs with cream cheese and salt and pepper.
Pour the egg mixture over the ham and cheese.
Cook for 10-12 minutes. The egg bites should be set in the center and reach 160°F on a food thermometer. Let cool for 5 minutes, then pop out and enjoy.