Isma'il bin Muhammad bin Sa'd (may Allah have mercy on him) narrates from his father, and he from his grandfather, Sayyiduna Sa'd bin Abi Waqqas (may Allah be pleased with him), that he said: The Messenger of Allah (peace and blessings be upon him) said: "Four things are part of happiness: a righteous wife, a spacious house, a righteous neighbour and a good mount; and four things are part of misery: a bad neighbour, a bad wife, a cramped house and a bad mount."
Abu al-Hasan Abd al-Rahman bin Umar bin Yazid al-Zuhri (may Allah have mercy on him) narrated it from Abu Asim (may Allah have mercy on him), from Muhammad bin Abi Humayd (may Allah have mercy on him), through Isma'il bin Muhammad bin Sa'd (may Allah have mercy on him).
Related hadith on this topic