Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) says that the Prophet (peace and blessings be upon him) said: "The house is a sanctuary; whoever enters your sanctuary, kill him."
Abu Ahmad (Ibn Adi) said: Muhammad bin Kathir al-Sulami al-Basri, narrating from Yunus bin Ubayd, is munkar al-hadith (his narrations are rejected); he reported this from al-Bukhari.
The Shaykh says: It has also been narrated with another weak chain from Yunus bin Ubayd. If it is authentic, then what is meant, and Allah knows best, is that he should order him to leave; if he does not leave, he may strike him, even if the striking takes his life.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الأشربة والحد فيها / 17674