This is a 5.8" fossil caudal vertebra centrum of an unidentified theropod from the Kem Kem Beds of Morocco. The bone has been compressed as a result of deposition and sedimentation. The entire vertebral arch is missing.
There are two large theropods known from the Kem Kem Beds, Spinosaurus
and Carcharodontosaurus. Both have very similar anatomy at the bone level. There are some subtle differences but this bone lacks the markers needed to make a definitive distinction between these two giant theropods.
The Kem Kem Beds are famous for yielding a diverse, Late Cretaceous, vertebrate assemblage including fish, reptiles and dinosaurs such as Spinosaurus. These fossils
are found in a thin bed that outcrops around the edge of a large plateau near Taouz, Morocco. Local miners collect these fossils by digging narrow tunnels by hand into this plateau following the layer.
A paper on this assemblage can be found at: Vertebrate assemblages from the early Late Cretaceous of southeastern Morocco: An overview
One of the tunnels dug into the Kem Kem beds by local miners following the productive fossil beds.