Finely chop basil leaves, onion, and bacon.
Heat olive oil in a pan and fry the bacon first.
Add the onion and sauté until it becomes translucent.
Add the rice and stir-fry, mixing well with the other ingredients.
Add the basil leaves and season with salt and pepper.
Stir-fry everything evenly to finish.