Sultan of Egypt Abu Nasr Saif Al-Din Qaytabay from the dynasty of Al-Jarakasa had become seriously ill facing death. When recovered, an expedition of scholars (of Islam) and others paid him a visit except Imam Suyuti. As a result Sultan sent him a messenger seeking his presence at the court, and again Suyuti refused. After a while again the Sultan sent a messenger summoning Suyuti and to intimidate him with the consequences of refusal. In spite of threats against his life, Imam Suyuti refused the second messenger as well and as a result this collection of Hadith (Prophetic Narrations) were compiled by him:
Those of you who are on the path of knowledge, rest assured that your provision is exclusively with Allah and no one else, specially the governors and universities funded by governments and militaries and specially mosques and religious organizations funded by the wealthy businessmen.
As did Imam Suyuti, be content with your wife or husband, your children, your parents, brothers and sisters and stay at your home and focus on the research and development of creative productions to further the knowledge. Collecting paycheques as compensation for your research as justification to gain livelihood shall only win you trials and tribulations, much pain at the end.
If you cannot, and there is no home no wife no husband no kids, then stay by the side of the roads carrying your books and study as hard as you could and do not mind the blame and shame, for in presence of Allah the scholar feels only shame for Allah and no one else, the scholar only asks for provision from Allah and no one else.