Cut the aubergines into cubes as thick as a thumb, season with salt and leave to stand for 20 minutes. Pat dry. Fry brown all over in hot oil. Take out of the pan.
Dice the onions and mash the garlic. Put both in the pan and fry for five minutes.
Strain tomatoes with the liquid through a sieve. Pour into the pan and reduce to a creamy consistency over high heat. Add the aubergines and season with salt and pepper. Sprinkle with parsley.