Jami` at-Tirmidhi 2421
Sulaim bin 'Amir narrated from Al-Miqdad, a Companion of the Messenger of Allah (s.a.w) who said:
"I heard the Messenger of Allah (s.a.w) saying: 'On the Day of Judgement, the sun will be drawn near the servants, until it has come a mile or two (away).'"  Sulaim bin 'Amir said: " I do not know if it is miles that refer to distance on the land, or Al-Mil which is used to apply Kuhl for the eyes." He (the Prophet (s.a.w)): "The sun will melt them, until they will be in sweat according to their deeds. Among them one will be covered up to his ankles, and among them will be one who is covered up to his knees, and among them will be one who is covered up to his waist, and among them will be one who is bridled with it.' I saw the Messenger of Allah (s.a.w) indicating with his hand toward his mouth, meaning that one would be bridled with  it.'" [Abu 'Eisa said:] This Hadith is
Hasan Sahih.
There are narrations on this topic
from Abu Sa'eed and Ibn 'Umar.
حَدَّثَنَا سُوَيْدُ بْنُ نَصْرٍ، أَخْبَرَنَا ابْنُ الْمُبَارَكِ، أَخْبَرَنَا عَبْدُ الرَّحْمَنِ بْنُ يَزِيدَ بْنِ جَابِرٍ، حَدَّثَنِي سُلَيْمُ بْنُ عَامِرٍ، حَدَّثَنَا الْمِقْدَادُ، صَاحِبُ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏"‏ إِذَا كَانَ يَوْمُ الْقِيَامَةِ أُدْنِيَتِ الشَّمْسُ مِنَ الْعِبَادِ حَتَّى تَكُونَ قِيدَ مِيلٍ أَوِ اثْنَيْنِ ‏"‏ ‏.‏ قَالَ سُلَيْمٌ لاَ أَدْرِي أَىَّ الْمِيلَيْنِ عَنَى أَمَسَافَةَ الأَرْضِ أَمِ الْمِيلَ الَّذِي تُكْتَحَلُ بِهِ الْعَيْنُ قَالَ ‏"‏ فَتَصْهَرُهُمُ الشَّمْسُ فَيَكُونُونَ فِي الْعَرَقِ بِقَدْرِ أَعْمَالِهِمْ فَمِنْهُمْ مَنْ يَأْخُذُهُ إِلَى عَقِبَيْهِ وَمِنْهُمْ مَنْ يَأْخُذُهُ إِلَى رُكْبَتَيْهِ وَمِنْهُمْ مَنْ يَأْخُذُهُ إِلَى حَقْوَيْهِ وَمِنْهُمْ مَنْ يُلْجِمُهُ إِلْجَامًا ‏"‏ ‏.‏ فَرَأَيْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يُشِيرُ بِيَدِهِ إِلَى فِيهِ أَىْ يُلْجِمُهُ إِلْجَامًا ‏.‏ قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏ وَفِي الْبَابِ عَنْ أَبِي سَعِيدٍ وَابْنِ عُمَرَ ‏.‏