Sunan al-Darimi 318
أَخْبَرَنَا مُوسَى بْنُ خَالِدٍ، حَدَّثَنَا عِيسَى بْنُ يُونُسَ، عَنِ الْأَعْمَشِ، عَنْ مُسْلِمٍ الْأَعْوَرِ، عَنْ حَبَّةَ بْنِ جُوَيْنٍ، قَالَ سَمِعْتُ عَلِيًّا أَوْ قَالَ: قَالَ عَلِيٌّ ﵁: «لَوْ أَنَّ رَجُلًا صَامَ الدَّهْرَ كُلَّهُ، وَقَامَ الدَّهْرَ كُلَّهُ، ثُمَّ قُتِلَ بَيْنَ الرُّكْنِ وَالْمَقَامِ، لَحَشَرَهُ اللَّهُ يَوْمَ الْقِيَامَةِ مَعَ مَنْ يُرَى أَنَّهُ كَانَ عَلَى هُدًى»
Musa ibn Khalid informed us; he said: ʿIsa ibn Yunus narrated to us, from al-Aʿmash, from Muslim al-Aʿwar, from Habbah ibn Juwayn, who said: I heard ʿAli — or he said: ʿAli, may Allah be pleased with him, said: "If a man fasted all his life and prayed all his life [at night], then was killed between the Corner and the Maqam, Allah would gather him on the Day of Resurrection with those whom he considered to be upon guidance."