Dear Wasim Ahmad,
Welcome back to the Wefugees Community and thank you for sharing your question.
I am not sure, if I understood your questions correctly. Are you married already or are you planning to marry? If the latter is the case, you may need to know that in Germany the residence status is not necessarily relevant for the marriage procedure. However, many people holding a "Duldung" may struggle to organise all the required documents (see this thread, in which we discussed a similar question). You may want to check our blog on this topic as well. It includes a list of the usually required documents.
If you married in another country and you want to register the marriage in Germany, I would recommend you to contact the local registry office (Standesamt). The registry office can certify and record your marriage. Please see this website of the Federal Foreign Office for further information (in German though).
I hope it helps and don't hesitate to get back to us with any further questions.
All the best,