If the definition of species is that individuals of the same species are capable of producing fertile offspring why were humans and Neanderthals able to reproduce? Are we the same species?
As others have said, what you describe is a general rule about species, but not an absolute law. Even Darwin remarks in the Origin of Species that the line between species and variation is pretty blurred in example like hens
Latest Answers