Prepare a 9 by 9 inch baking dish by lining it with parchment paper leaving the excess hanging over two opposite sides.
In a food processor (or with a pastry cutter) mix sugar, ground almonds, flour, and salt together. Pulse to mix, then add cubed butter and pulse until you have pea sized crumbs of flour coated butter.
Add water and pulse again to bring dough together.
Press the dough into the bottom of the prepared baking dish. If it is too sticky, dust your hands with a little flour as you go.
Bake the crust for 12-15 minutes, or until light golden brown. Turn oven down to 350 degrees.
For the Filling
Slice peaches in half and remove the pit. Then slice each half into 1/4 inch slices. Place the peaches onto the shortbread crust, overlapping slightly.
Whisk egg and sugar together in a small bowl until pale and thick. Add flour, heavy cream, vanilla bean paste and almond extract and whisk until smooth.
Pour the custard mixture over the peaches. Tilt the pan gently so that the custard fills in around the peaches evenly.
Bake at 350 degrees for 30 minutes, and then cool for one hour at room temperature. Cut and serve!