[Machine] A man died in the city, so the Prophet ﷺ prayed for him and said, "I wish he had died in a different place." A man asked, "O Messenger of Allah, why?" The Prophet ﷺ replied, "When a person dies in a place other than his birthplace, his trace is connected from his birthplace to the point where he died in Paradise."
تُوُفِّيَ رَجُلٌ بِالْمَدِينَةِ فَصَلَّى عَلَيْهِ النَّبِيُّ ﷺ ثُمَّ قَالَ «يَا لَيْتَهُ مَاتَ فِي غَيْرِ مَوْلِدِهِ» فَقَالَ رَجُلٌ لَمَ يَا رَسُولَ اللهِ؟ فَقَالَ «إِنَّ الرَّجُلَ إِذَا مَاتَ فِي غَيْرِ مَوْلِدِهِ قِيسَ لَهُ مِنْ مَوْلِدِهِ إِلَى مُنْقَطَعِ أَثَرِهِ فِي الْجَنَّةِ»