The Prophet (PBUH) said:-
“Whoever is struck by poverty and he goes around telling people about it (and complaining about it in the hope of receiving help), then his calamity will not be relieved. Whoever is struck by poverty and he complains to Allah about it, Allah will grant him relief sooner or later.”
[Narrated by al-Tirmidhi, 2326; Abu Dawood, 1645]