When 'will' expresses the idea of certainty about the future, it is highly unlikely in an if- clause suggesting possibility. You cannot combine certainty and possibility (=lack of certainty).
XI will be surprised if it will rain tomorrow.
When 'will' expresses some idea of willingness, there is no restriction.
If you will come with me, I will take you to Mr Postule's office.
When 'if' has a similar meaning to 'whether', there is no restriction.
Do you know if he will be there tomorrow?
Context is important. Please provide enough for us to be able to deal effectively with your question.
Your thread title should include all or part of the word/phrase being discussed.
If you just want to know the meaning of a word, try OneLook Dictionary Search first.