Our Sages taught: At first, they would uncover the faces of the wealthy and cover the faces of the poor, because their faces were blackened due to famine. And the living poor were ashamed. They enacted that they should cover the faces of everyone (Moed Katan 27a). At first, they would take out the wealthy on a dargash and the poor on a kelivah, which is a bed for the deceased, and the poor were ashamed. They enacted that everyone should be taken out on a kelivah, for the sake of the honor of the poor (ibid.). At first, they would place incense under those who died of intestinal disease, and the living who suffered from intestinal disease were ashamed. They enacted that they should place it under everyone (ibid.). Therefore, it is proper to smoke incense in a house where there is a deceased person, to drive away the bad odors. And even if there is no odor from this deceased person, nevertheless, one should smoke incense so as not to distinguish between one deceased person and another.
תנו רבנן: בראשונה היו מגלים פני עשירים ומכסים פני עניים, מפני שהיו פניהם מושחרים מפני בצורת. והיו עניים חיים מתביישים. התקינו שיהו מכסים פני הכל (מועד קטן כז א). בראשונה היו מוציאים עשירים בדרגש ועניים בכליבה, והוא מיטה של מתים, והיו עניים מתביישין. התקינו שיהו הכל מוציאין בכליבה, מפני כבודן של עניים (שם). בראשונה היו מניחין את המוגמר תחת חולי מעיים מתים, והיו חולי מעיים חיים מתביישין. התקינו שיהו מניחין תחת הכל (שם). ולכן נכון לעשן בבית שיש בו מת, לגרש הריחות הרעות. ואף אם אין ריח בזה המת, מכל מקום יעשנו כדי שלא לחלק בין מת למת.