Sunan Ibn Majah, Book 1, Hadith 53 (In-Book) ⓘ
It was narrated that Ans bin Malik said: "The Messenger of Allah said: 'Whoever gives up telling lies in support of a false claim, a palace will be built for him in the outskirts of Paradise. Whoever gives up argument when he is in the right, a palace will be built from him in the middle (of Paradise). And whoever had good behavior, a palace will be built for him in the highest reaches (of Paradise).'"
حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ إِبْرَاهِيمَ الدِّمَشْقِيُّ، وَهَارُونُ بْنُ إِسْحَاقَ، قَالاَ حَدَّثَنَا ابْنُ أَبِي فُدَيْكٍ، عَنْ سَلَمَةَ بْنِ وَرْدَانَ، عَنْ أَنَسِ بْنِ مَالِكٍ، قَالَ قَالَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ " مَنْ تَرَكَ الْكَذِبَ وَهُوَ بَاطِلٌ بُنِيَ لَهُ قَصْرٌ فِي رَبَضِ الْجَنَّةِ وَمَنْ تَرَكَ الْمِرَاءَ وَهُوَ مُحِقٌّ بُنِيَ لَهُ فِي وَسَطِهَا وَمَنْ حَسَّنَ خُلُقَهُ بُنِيَ لَهُ فِي أَعْلاَهَا " .
also referenced under: Hadith 51 (Reference) & Volume 1, Book 1, Hadith 51 (DarusSalam)