"Those who receive you are also receiving me, and those who receive me are receiving the one who sent me.
References for Matthew 10:40
Those who receive a prophet as a prophet will receive a prophet's reward. Those who receive a righteous person as a righteous person will receive a righteous person's reward.
I assure you that everybody who gives even a cup of cold water to these little ones because they are my disciples will certainly be rewarded."