Vira Simhavaloka · Chapter 40
ऊरुस्तंभ-आमवात — कर्मविपाकः
This is the Urustambha and Amavata karmavipaka chapter of Vira Simhavaloka, on the past-life deed the text links to this trouble. From a saying of the Smriti (law book), it links Amavata to putting out a fire kept for rites.
Classical view, not medical advice.
It gives Gayatri japa, a fire offering of sesame and ghee, and gifts.
The English below is our translation from the Sanskrit.
Urustambha and Amavata (stiff thighs and joint pain) - past deeds
ऊरुस्तंभामवातोपसृष्टस्य कर्मविपाकमाह हुताग्निनिर्वापक आमवातवान् इति स्मरणात् तदुक्तदोषोपशांतयेऽयुतसंख्याको गायत्र्या जपस्तिलैराज्येन च होमः सुवर्णान्नदानम् ॥
The text tells the past-deed cause for one struck by urustambha (stiff thighs) and amavata (joint pain). This comes from a saying of the Smriti (law book). One who put out a fire kept alive for rites may get amavata. To ease the dosha (fault) so told, he should do japa (repeating a mantra) ten thousand times. The japa is of the Gayatri (gayatri mantra). He should do homa (fire offering) with sesame and clarified butter. He should give gold and food.
Urustambha and Amavata (stiff thighs and joint pain) - past deeds
यत्र यत्र च संकीर्णमात्मानं मन्यते द्विजः ।तत्र तत्र तिलैर्होमो गायत्र्याश्च जपस्तथा ॥
Wherever a Brahmin thinks himself defiled, there he should do homa (fire offering) with sesame. He should also do japa (repeating a mantra) of the Gayatri (gayatri mantra).
This is from the Smriti (law book) saying.
Unit 40.2 prescribes homa with sesame and japa of the Gayatri.