Abdullah ibn Mas’ud reported: The Messenger of Allah, peace and blessings be upon him, said, “Whoever is afflicted by a pressing need and complains to people, his need will never be satisfied. Whoever is afflicted by a pressing need and complains to Allah, eventually Allah will provide for him, sooner or later.”
Source: Sunan al-Tirmidhī 2326
Grade: Sahih (authentic) according to Al-Tirmidhi
عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ مَنْ نَزَلَتْ بِهِ فَاقَةٌ فَأَنْزَلَهَا بِالنَّاسِ لَمْ تُسَدَّ فَاقَتُهُ وَمَنْ نَزَلَتْ بِهِ فَاقَةٌ فَأَنْزَلَهَا بِاللَّهِ فَيُوشِكُ اللَّهُ لَهُ بِرِزْقٍ عَاجِلٍ أَوْ آجِلٍ
2326 سنن الترمذي كتاب الزهد باب ما جاء في الهم في الدنيا وحبها
4/154 المحدث الترمذي خلاصة حكم المحدث حسن صحيح في سنن الترمذي