I asked: Messenger of Allah! tell me if someone enters my house and extends his hands to kill me (what should I do?) The Messenger of Allah ﷺ replied: Be like the two sons of Adam. The narrator Yazid (ibn Khalid) then recited the verse: "If thou dost stretch they hand against me to slay me." [5:28]
عَنِ النَّبِيِّ ﷺ فِي هَذَا الْحَدِيثِ قَالَ فَقُلْتُ يَا رَسُولَ اللَّهِ أَرَأَيْتَ إِنْ دَخَلَ عَلَىَّ بَيْتِي وَبَسَطَ يَدَهُ لِيَقْتُلَنِي قَالَ فَقَالَ رَسُولُ اللَّهِ ﷺ كُنْ كَابْنَىْ آدَمَ وَتَلاَ يَزِيدُ { لَئِنْ بَسَطْتَ إِلَىَّ يَدَكَ } الآيَةَ