Surah An-Nur 24:51
إِنَّمَا كَانَ قَوْلَ ٱلْمُؤْمِنِينَ إِذَا دُعُوٓا۟ إِلَى ٱللَّهِ وَرَسُولِهِۦ لِيَحْكُمَ بَيْنَهُمْ أَن يَقُولُوا۟ سَمِعْنَا وَأَطَعْنَا ۚ وَأُو۟لَـٰٓئِكَ هُمُ ٱلْمُفْلِحُونَ
The only statement of the [true] believers when they are called to Allāh and His Messenger to judge between them is that they say, "We hear and we obey." And those are the successful.
Translation: Saheeh International
Tafsir
All that the believers say when they are summoned to God and His Messenger that he may judge between them is that they say in other words the saying that befits them is to say ‘We hear and we obey’ by responding to the summons. And those then are the successful the ones who will be saved.
Excerpt from Tafsir al-Jalalayn, commentary on 24:51, via Quran.com. The reader has the full commentary and 9 more tafsirs.