The person who welcomes a prophet as a prophet will receive a prophet’s reward. The person who welcomes a righteous person as a righteous person will receive a righteous person’s reward.