From the Super Mario Wiki
New Super Mario Bros. Wii
Prickly Goombas first appeared in New Super Mario Bros. Wii, where they are only encountered in World 9-7. 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 / New Super Luigi U
In New Super Luigi U, Prickly Goombas are encountered in Fire and Ice.
Names in other languages