[Machine] From Ubayy ibn Umayrah, who prayed with the Messenger of Allah ﷺ in the direction of both qiblas, it is reported that he asked, "O Messenger of Allah, should I wipe over both socks?" He said, "Yes." He asked, "For a day?" He replied, "And two days." He asked, "And three?" He said, "Yes, as long as you wish." Ubayy ibn Umayrah was a well-known companion, and this is a reliable chain of narration that has not been attributed to any invalid narrator. Malik ibn Anas and others have reported it.
عَنْ أُبَيِّ بْنِ عُمَارَةَ وَقَدْ كَانَ صَلَّى مَعَ رَسُولِ اللَّهِ ﷺ الْقِبْلَتَيْنِ أَنَّهُ قَالَ يَا رَسُولَ اللَّهِ أَمْسَحُ عَلَى الْخُفَّيْنِ؟ قَالَ «نَعَمْ» قَالَ يَوْمًا قَالَ «وَيَوْمَيْنِ» قَالَ وَثَلَاثَةٌ؟ قَالَ «نَعَمْ مَا شِئْتَ» «أُبَيُّ بْنُ عُمَارَةَ صَحَابِيٌّ مَعْرُوفٌ وَهَذَا إِسْنَادٌ مِصْرِيٌّ لَمْ يُنْسَبْ وَاحِدٌ مِنْهُمْ إِلَى جَرْحٍ وَإِلَى هَذَا ذَهَبَ مَالِكُ بْنُ أَنَسٍ وَلَمْ يُخَرِّجَاهُ»