How to Make It
In a large skillet, toast the fennel seeds over moderate heat, shaking the pan occasionally, until fragrant, about 2 minutes. Transfer to a mortar or spice grinder and let cool, then grind to a powder.
In the same skillet, heat the olive oil until shimmering. Add the shallot, cilantro, garlic, oregano, chile, ground fennel and a generous pinch of salt and cook over high heat until the vegetables are softened, about 1 minute. Add the beef and cook, breaking up the meat with a wooden spoon, until nicely browned, 5 to 7 minutes. Stir in the beans and stock and cook, stirring, until the beans are crisp-tender, about 3 minutes. Stir in the lime juice and season with salt and pepper. Serve with yellow rice and lime wedges.