Cook the pasta in 3-4 l boiling salted water (approx. 1 teaspoon salt per litre) according to package instructions.
Drain the beans in a sieve. Wash basil, shake dry and remove leaves. Wash the meat, dab dry and cut into thin slices. Peel and finely chop the onion.
Heat the oil in a large frying pan. Fry the meat in it over a high heat for about 1 minute on each side. Season with salt and pepper. Fry the onion briefly at the end. Add all the meat again.
Add the sauce, stir in the beans and bring everything to the boil. Simmer for about 2 minutes.
Drain the pasta and put it back into the pot. Mix with the sauce and basil leaves. Serve everything.