Wash parsley, dab dry, pluck off leaves and chop. Clean the chilli, cut lengthwise, remove seeds, wash and cut into strips. Peel garlic and cut into slices.
Put spaghetti in plenty of boiling salted water and cook for about 10 minutes until al dente. Drain and let drain. Heat oil in a pan and fry garlic, parsley and chilli in it at medium heat for 2-3 minutes.
Put the spaghetti in the pan and fold in. Season to taste with salt and pepper. Serve spaghetti on preheated plates.