Srimad Bhagavatam Canto 07, Chapter 14, Text 18

SB 7.14.18

tasmad brahmana-devesu
 martyadisu yatharhatah
tais taih kamair yajasvainam
 ksetra-jñam brahmanan anu
 
Translation by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
Therefore, my dear King, first offer prasada unto the brahmanas and the demigods, and after sumptuously feeding them you may distribute prasada to other living entities according to your ability. In this way you will be able to worship all living entities — or, in other words, the supreme living entity within every living entity.
 
Purport by His Divine Grace A. C. Bhaktivedanta Swami Srila Prabhupada: 
 
To distribute prasada to all living entities, the process is that we must first offer prasada to the brahmanas and the Vaisnavas, for the demigods are represented by the brahmanas. In this way the Supreme Personality of Godhead, who is situated in everyone’s heart, will be worshiped. This is the Vedic system of offering prasada. Whenever there is a ceremony for distribution of prasada, the prasada is offered first to the brahmanas, then to the children and old men, then to the women, and then to animals like dogs and other domestic animals. When it is said that Narayana, the Supreme Being, is situated in everyone’s heart, this does not mean that everyone has become Narayana or that a particular poor man has become Narayana. Such a conclusion is rejected herein.
Srimad Bhagavatam Canto 07, Chapter 14, Text 17
Srimad Bhagavatam Canto 07, Chapter 14, Text 19