I think this might be Hydnum repandum (Wood Hedgehog)? Size about the same as my hand, in leaf-litter/humus in a mixed wood near Wiston, Pembrokeshire. Apologies for much chewed sample (not by me!)
There isn’t really enough information in your photos to put a name to this but it doesn’t seem to be a Hydnum. Sometimes when fungi with pores are damaged or eaten away, the pores can look like teeth, which can be confusing. If there was no stem and it was growing straight from the ground it could be Abortiporus biennis growing on buried woody debris or roots. There seems to be a hint of reddish flushing in the flesh, which would fit…
… but then again it could be something else entirely. 🙄
Did it have a stem? Was there a smell? What length were the spines? There are quite a few terrestrial fungi with spines. Hedgehogs are by far the most common.
They do look very like the old specimens of Hydnum repandum that I passed over this evening in favour of the fresher caps for my dinner. They have been abundant here this year. Also three (or more) other tooth fungi on my Pembrokeshire wood bank, to back up Leif’s earlier suggestion that they are social creatures…..