Cook rice in salted water, cast in a colander.
Cut onion, pepper and ham into cubes, mix, fry in butter, salt, pepper, pour with beer and stew for 10 minutes over law heat.
Mix the vegetables with the rice and cook through.
When serving, season with chopped greens.