The Prophet ﷺ said, "Asking for charity leaves scratches with which a man tears at his own face. So whoever wishes may preserve his face, and whoever wishes may abandon it, unless a man asks someone in authority or asks out of a need from which he can find no escape."
حدثنا حفص بن عمر النمري حدثنا شعبة عن عبد الملك بن عمير عن زيد بن عقبة الفزاري
عن النبي ﷺ قال المسائل كدوح يكدح بها الرجل وجهه فمن شاء أبقى على وجهه ومن شاء ترك إلا أن يسأل الرجل ذا سلطان أو في أمر لا يجد منه بدا
[Its chain is sahih] Nasai narrated it, in the chapter on zakat, in the section on a man asking someone in authority, no. 2600, from the hadith of Shubah, with this wording, and Tirmidhi, no. 681, and he said, hasan sahih, and Ibn Hibban graded it sahih, no. 842, 843.