Ta'wiz for Knee Pain
For knee pain it has been reported that when one has finished the salat, one should say:
یا أَجْوَدَ مَنْ أَعْطَیٰ، یَا خَیْرَ مَنْ سُئِلَ، وَیَا أَرْحَمَ مَنِ اسْتُرْحِمَ ارْحَمْ ضَعْفِی وَقِلَّةَ حِیلَتِی، وَأَعْفِنِ مِنْ وَجَعِی
Translation: O You who are more generous than every giver, O best Being of whom anything is asked, O Most Merciful of whom mercy is sought, have mercy on my weakness and helplessness, and grant me relief from this pain.
After that, send salawat upon Muhammad and the family of Muhammad (s), and invoke curses upon the enemies of Muhammad and the family of Muhammad (s).