Preheat the oven to 190 C. Rinse the chicken and lay it in one layer in a baking dish. Season with salt and ground black pepper to taste.
Cut the pineapple into pieces, lay a layer of pineapple on top of the chicken.
Peel the bananas and cut them into circles. Spread a layer of bananas on top of pineapples.
Pour on top with mayonnaise and sprinkle with grated cheese.
Put in the oven and bake for 45 minutes.