Hadith Q1202

وَالدَّلِيلِ عَلَى أَنَّ الْأَمْرَ بِذَلِكَ أَمْرُ اسْتِحْبَابٍ لَا أَمْرُ إِيجَابٍ؛ إِذْ صَلَاةُ النَّوَافِلِ فِي الْبُيُوتِ أَفْضَلُ مِنَ النَّوَافِلِ فِي الْمَسَاجِدِ .
And the explanation of the evidence that this command of the Prophet (peace be upon him) was for recommendation, not obligation, because offering voluntary prayers at home is better than offering them in the mosques.
Hadith Reference صحيح ابن خزيمه / جماع أبواب صلاة التطوع قبل الصلوات المكتوبات وبعدهن / Q1202