Peel and finely chop the garlic cloves. Clean and wash the leek and cut into strips. Fry both briefly in the butter. Add the dill, lemon juice and prawns. Mix the crème fraîche with the eggs, salt and pepper and fold in.
Roll out the puff pastry and line a springform pan with it, also forming a border. Pour in the leek and shrimp mixture.