Preheat oven to 350 F. In a small bowl, mix mayonnaise and mustard together. Open hamburger buns and spread the insides of the buns with the mayo mustard mixture.
Place 2 slices of ham and one slice of cheese on each of the bottom half of the buns. Top with the remaining bun. Wrap each sandwich in foil. Bake for 10-15 minutes.