Mishkat al-Masabih 771
وَعَنْ أُبَيِّ بْنِ كَعْبٍ قَالَ: الصَّلَاةُ فِي الثَّوْبِ الْوَاحِدِ سُنَّةٌ كُنَّا نَفْعَلُهُ مَعَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَلَا يُعَابُ عَلَيْنَا. فَقَالَ ابْنُ مَسْعُودٍ: إِنَّمَا كَانَ ذَاكَ إِذْ كَانَ فِي الثِّيَاب قلَّة فَأَما إِذْ وَسَّعَ اللَّهُ فَالصَّلَاةُ فِي الثَّوْبَيْنِ أَزْكَى. رَوَاهُ أَحْمد
And from Ubayy ibn Kaʿb, who said: Praying in a single garment is a sunnah; we used to do it with the Messenger of Allah ﷺ and we were not criticised for it. Ibn Masʿud said: "That was only when clothes were scarce. But now that Allah has given plenty, praying in two garments is purer." Reported by Ahmad.