[Machine] About the prayer palace, I used to go out to Al-Kufa and pray two Rak'ahs before returning. Anas said: When the Messenger of Allah ﷺ would go out a distance of three miles or three farsakhs, he would doubt the boundaries of the prayer palace. This is the wording of the Hadith of Ibn Salamah, and in the narration of Abu Dawood, he would pray two Rak'ahs without mentioning his statement, "I used to go out to Al-Kufa and pray two Rak'ahs."
عَنْ قَصْرِ الصَّلَاةِ وَكُنْتُ أَخْرَجُ إِلَى الْكُوفَةِ فَأُصَلِّي رَكْعَتَيْنِ حَتَّى أَرْجِعَ فَقَالَ أَنَسٌ كَانَ رَسُولُ اللهِ ﷺ إِذَا خَرَجَ مَسِيرَةَ ثَلَاثَةِ أَمْيَالٍ أَوْ ثَلَاثَةِ فَرَاسِخَ شَكَّ شُعْبَةُ قَصْرَ الصَّلَاةَ لَفْظُ حَدِيثِ ابْنِ سَلَمَةَ وَفِي رِوَايَةِ أَبِي دَاوُدَ يُصَلِّي رَكْعَتَيْنِ وَلَمْ يَذْكُرْ قَوْلَهُ وَكُنْتُ أَخْرَجُ إِلَى الْكُوفَةِ فَأُصَلِّي رَكْعَتَيْنِ