Two different species cannot live for a long duration in the same niche or habitat. This law is :
Competitive exclusion principle.
A given habitat may contain many different species, but each species must have a different niche. Two different species cannot occupy the same niche in the same place for very long. This is known as the competitive exclusion principle.