It is part of the Sunna that

A man should accompany his guest

to the door of the house.

(Ibn Majah, Baihaqi).