From the Super Mario Wiki
Ads keep the MarioWiki independent and free :)
New Super Mario Bros. Wii
Prickly Goombas first appeared in New Super Mario Bros. Wii, where they are only encountered in World 9-7. Obviously, the players will sustain damage if they jump on their spiked shells. Prickly Goombas will remain stationary until their shells are burned open with a single Fireball, thus reverting them to a regular Goomba. They can also be frozen by ice balls.
New Super Mario Bros. U
Names in other languages