This question already has an answer here:
My iPhone has iOS 10 on it. My iPad Mini has iOS 9 which is the most recent version available for that device.
Can I restore my iPad Mini with a backup that I made from my iPhone? I only need my contacts and messages.