Hadith 23466
It is narrated from a companion (may Allah be pleased with him) that the Noble Prophet (peace and blessings be upon him) said: When two people invite you at the same time, then accept the invitation of the one whose door is closer, because the one whose door is closer, his neighborhood is closer. And if one of them invites you first, then accept the invitation of the one who invited first.