This is part of the lower jaw of an ammonite. Different ammonites and nautili had unique jaw shapes. Their jaws evolved over time, so some forms only occur in rocks of certain ages. Shells and jaws are rarely found together.
Find out more about ammonites on the molluscs pages.