Contradiction with Matthew 10:14
Contradicts because Jeremiah 40:11 involves gathering people, while Matthew 10:14 talks about shaking off the dust from your feet and leaving a place.
Matthew 10:14: And whosoever shall not receive you, nor hear your words, when ye depart out of that house or city, shake off the dust of your feet.
Contradiction with Ezra 9:12
Contradicts because Jeremiah 40:11 speaks of return and gathering while Ezra 9:12 advises against seeking peace and prosperity with people of the land.
Ezra 9:12: Now therefore give not your daughters unto their sons, neither take their daughters unto your sons, nor seek their peace or their wealth for ever: that ye may be strong, and eat the good of the land, and leave [it] for an inheritance to your children for ever.