Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ahmad-zuhd:2290ʿAbdullāh > Abū Maʿmar > Sayf b. Hārūn > Ḍirār > Māhān

[Machine] "If you enter a house where no one is in it, say 'Peace be upon us from our Lord.'"  

الزهد لأحمد:٢٢٩٠حَدَّثَنَا عَبْدُ اللَّهِ حَدَّثَنِي أَبُو مَعْمَرٍ حَدَّثَنِي سَيْفُ بْنُ هَارُونَ عَنْ ضِرَارٍ عَنْ مَاهَانَ قَالَ

«إِذَا دَخَلْتَ بَيْتًا لَيْسَ فِيهِ أَحَدٌ فَقُلِ السَّلَامُ عَلَيْنَا مِنْ رَبِّنَا»