Recalling the Dhamma when ill

Looking for a Sutta that says that if you are ill and cannot meditate you should “recall the Dhamma”. Does anyone have a reference?

This one is quite broad, I can’t pinpoint exactly the one you are looking for. AN 6.56 Phagunasutta looks quite promising but the theme of getting too ill then it reminds me of AN 10.60 or those of SN46.14, SN46.15, SN46.16 or SN47.10

sn22.88

sn55.54

SN22.1

Thank you both. All these suggestions are indeed quite close but not the thing I’m looking for. I’m starting to think the source of my (bad)memory might not be a Sutta at all. I must’ve been reading a related book of some sort when I was ill and so “recalled the Dhamma”. It was very helpful which is why I wanted to find a source to refer to. mm, thanks anyway.

SN 55.3

Jotika said, “Dear Dīghāvu, don’t focus on that.

“Mā tvaṁ, tāta dīghāvu, evaṁ manasākāsi.

Come on, dear Dīghāvu, you should closely focus on what the Buddha is saying.”

Iṅgha tvaṁ, tāta dīghāvu, yadeva te bhagavā āha, tadeva tvaṁ sādhukaṁ manasi karohī”ti.

SN 46.14

“Sir, I’m not keeping well, I’m not getting by. My pain is terrible and growing, not fading; its growing is evident, not its fading.”

“Kassapa, I’ve rightly explained these seven awakening factors. When developed and cultivated, they lead to direct knowledge, to awakening, and to extinguishment.

…

Satisfied, Venerable Mahākassapa approved what the Buddha said.

And that’s how he recovered from that illness.

Arahant and Anagami remember the teaching. An arahant cure the illness with dhamma, an anagami passed away.

SN22.1

Therefore, householder, you should train yourself thus: ‗Even though I am afflicted in body, my mind will be unafflicted.‘ Thus should you train yourself.‖