When the deputation of Thaqif came to the Messenger of Allah ﷺ, he made them stay in the mosque, so that it might soften their hearts. They stipulated to him that they would not be called to participate in Jihad, to pay zakat and to offer prayer. The Messenger of Allah ﷺ said: You may have the concession that you will not be called to participate in jihad and pay zakat, but there is no good in a religion which has no bowing (i.e. prayer).
أَنَّ وَفْدَ ثَقِيفٍ لَمَّا قَدِمُوا عَلَى رَسُولِ اللَّهِ ﷺ أَنْزَلَهُمُ الْمَسْجِدَ لِيَكُونَ أَرَقَّ لِقُلُوبِهِمْ فَاشْتَرَطُوا عَلَيْهِ أَنْ لاَ يُحْشَرُوا وَلاَ يُعْشَرُوا وَلاَ يُجَبُّوا فَقَالَ رَسُولُ اللَّهِ ﷺ لَكُمْ أَنْ لاَ تُحْشَرُوا وَلاَ تُعْشَرُوا وَلاَ خَيْرَ فِي دِينٍ لَيْسَ فِيهِ رُكُوعٌ