The RAM will slow down to the speed of the Motherboard. It just means you won't be using the full capabilities of the RAM.
Likewise if you put in a slower RAM module, the faster one would slow down to the speed of the slower one.
As long as it's the correct memory type for the board (DDR3, DDR4, etc.) you should have no issues.