Prophet Muhammad (PBUH) said give to the one whose door is nearer to you.