Abu Musa Al-Ash'arf narrated that the Messenger of Allah said: : The believer is to the believer like parts of a building, each one of them supporting the other.

حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ الْخَلَّالُ، وَغَيْرَ وَاحِدٍ، ‏‏‏‏‏‏قَالُوا:‏‏‏‏ حَدَّثَنَا أَبُو أُسَامَةَ، عَنْ بُرَيْدِ بْنِ عَبْدِ اللَّهِ بْنِ أَبِي بُرْدَةَ، عَنْ جَدِّهِ أَبِي بُرْدَةَ، عَنْ أَبِي مُوسَى الْأَشْعَرِيِّ، قَالَ:‏‏‏‏ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ:‏‏‏‏ الْمُؤْمِنُ لِلْمُؤْمِنِ كَالْبُنْيَانِ يَشُدُّ بَعْضُهُ بَعْضًا ، ‏‏‏‏‏‏قَالَ أَبُو عِيسَى:‏‏‏‏ هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ.

Explanation
تفسير الحديث

This noble hadith speaks about the interconnectedness and cooperation among believers. The Prophet, peace be upon him, uses this analogy to illustrate that a believer is like a solid structure, where each believer supports and strengthens the other, just as the stones in a building do, contributing to the creation of a strong and stable edifice.

هذا الحديث الشريف يتحدث عن مدى الترابط والتعاون بين المؤمنين. يوضح الرسول صلى الله عليه وسلم من خلال هذا التشبيه أن المؤمن يشبه البنيان المتماسك، حيث أن كل مؤمن يدعم ويقوي الآخر كما تفعل الأحجار المكونة للبناء، بحيث تساهم في إنشاء بناء قوي وثابت.

Source: Jami' Al-Tirmidhi by Abu `Isa Muhammad at-Tirmidhi