Sunan an-Nasa'i, Book 44, Hadith 237 (In-Book) ⓘ
It was narrated that samurah said: "We were with the Prophet at a funeral, and he said: 'I there anyone from banu so and so here? He said this three times. Then a man stood up, and he said to him: 'What kept you form answering the first two times? I am not going to say anything but good to you, so and so (mentioning the name of a man from among them) has died and he is being detained (from entering Paradise) because of his debt."'
أَخْبَرَنَا مَحْمُودُ بْنُ غَيْلاَنَ، قَالَ حَدَّثَنَا عَبْدُ الرَّزَّاقِ، قَالَ حَدَّثَنَا الثَّوْرِيُّ، عَنْ أَبِيهِ، عَنِ الشَّعْبِيِّ، عَنْ سَمْعَانَ، عَنْ سَمُرَةَ، قَالَ كُنَّا مَعَ النَّبِيِّ صلى الله عليه وسلم فِي جَنَازَةٍ فَقَالَ " أَهَا هُنَا مِنْ بَنِي فُلاَنٍ أَحَدٌ " . ثَلاَثًا فَقَامَ رَجُلٌ فَقَالَ لَهُ النَّبِيُّ صلى الله عليه وسلم " مَا مَنَعَكَ فِي الْمَرَّتَيْنِ الأُولَيَيْنِ أَنْ لاَ تَكُونَ أَجَبْتَنِي أَمَا إِنِّي لَمْ أُنَوِّهْ بِكَ إِلاَّ بِخَيْرٍ إِنَّ فُلاَنًا - لِرَجُلٍ مِنْهُمْ - مَاتَ مَأْسُورًا بِدَيْنِهِ " .
also referenced under: Hadith 4685 (Reference) & Volume 5, Book 44, Hadith 4689 (DarusSalam)