وَكَذَٰلِكَ أَعْثَرْنَا عَلَيْهِمْ لِيَعْلَمُوٓا۟ أَنَّ وَعْدَ ٱللَّهِ حَقٌّ وَأَنَّ ٱلسَّاعَةَ لَا رَيْبَ فِيهَآ إِذْ يَتَنَـٰزَعُونَ بَيْنَهُمْ أَمْرَهُمْ ۖ فَقَالُوا۟ ٱبْنُوا۟ عَلَيْهِم بُنْيَـٰنًا ۖ رَّبُّهُمْ أَعْلَمُ بِهِمْ ۚ قَالَ ٱلَّذِينَ غَلَبُوا۟ عَلَىٰٓ أَمْرِهِمْ لَنَتَّخِذَنَّ عَلَيْهِم مَّسْجِدًا
Wa kazaalika a'sarnaa 'alaihim liya'lamooo anna wa'dal laahi haqqunw wa annas Saa'ata laa raiba feehaa iz yatanaaza'oona bainahum amrahum faqaalub noo 'alaihim bunyaanaa; Rabbuhum a'lamu bihim; qaalal lazeena ghalaboo 'alaaa amrihim lanat takhizanna 'alaihim masjidaa
In this way We brought them to people’s attention so that they might know that God’s promise [of resurrection] is true and that there is no doubt about the Last Hour, [though] people argue among themselves. [Some] said, ‘Construct a building over them: their Lord knows best about them.’ Those who prevailed said, ‘We shall build a place of worship over them.’
And so we made them known, that the people might know God's promise is true and that there is no doubt about the hour. When they were disputing the matter among themselves, some said, "Build a structure over them — their Lord knows them best." Those who prevailed in the matter said, "We will surely build a place of worship over them."