[Note: These incidents took place when the Buddha was striving as the Bodhisatta. If you are not familiar with this time in his life, this is a good sutta to read.]
…“Now when deities saw me, some said: ‘The recluse Gotama is dead.’ Other deities said: ‘The recluse Gotama is not dead, he is dying.’ And other deities said: ‘The recluse Gotama is not dead nor dying; he is an arahant, for such is the way arahants abide.’
“I thought: ‘Suppose I practise entirely cutting off food.’ Then deities came to me and said: ‘Good sir, do not practise entirely cutting off food. If you do so, we shall infuse heavenly food into the pores of your skin and you will live on that.’ I considered: ‘If I claim to be completely fasting while these deities infuse heavenly food into the pores of my skin and I live on that, then I shall be lying.’ So I dismissed those deities, saying: ‘There is no need.’…
Read the entire translation of Majjhima Nikāya 36 Mahāsaccakasutta: The Greater Discourse to Saccaka by Bhikkhu Bodhi on SuttaCentral.net. Or read a different translation on SuttaCentral.net or DhammaTalks.org. Or listen on PaliAudio.com or SC-Voice.net. Or explore the Pali on DigitalPaliReader.online.

All translations on this site by Bhikkhu Bodhi are licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License.
Bhikkhu Bodhi, The Middle Length Discourses of the Buddha (Wisdom Publications, 2009), The Connected Discourses of the Buddha (Wisdom Publications, 2000), The Numerical Discourses of the Buddha (Wisdom Publications, 2012).