Mix flour, baking powder, sugar and salt in a bowl.
Mix butter, buttermilk, egg and vanilla extract in a separate bowl. Add the liquid ingredients to the dry dough and stir until homogeneous. Add the raspberries and carefully fold in with a spatula. Don’t overmix. Set aside for 5 minutes.