Question
Is it permissible for me to pray with them intending to perform the Sunnah of the Dhuhr prayer? What is the method of the prayer?
Answer
I say, and with God's success: If the conditions for joining the prayer according to one of the jurisprudential schools are met, it is permissible to pray with the imam with the intention of a voluntary prayer so that no fitna (trial or discord) occurs, and God knows best.