On a lightly floured surface, roll dough into a 16x12-inch rectangle. Using a pizza wheel or a sharp knife, cut dough into 12 (4-inch) squares. Using a 2½-inch round cutter, cut circles out of half of squares. Place 6 whole squares on prepared pan, and brush with beaten egg. Place squares with cutouts on top. Cover loosely with plastic wrap, and let stand for 30 minutes.
Preheat oven to 375°F.
Top squares with crumbled bacon, and brush with beaten egg. Bake for 7 to 8 minutes. Remove from oven, and crack one egg into center of each Danish. Sprinkle with pecorino, salt, and pepper. Return to oven, and bake until eggs are set and pastry is puffed and golden, 10 to 15 minutes more.
Recipe by Bake from Scratch at https://staging.bakefromscratch.com/egg-bacon-and-pecorino-danish/