I'm quite a newbie to Islam. So please don't hurt me, I'm not sure whether my question is n00b or not.

I understand that non-Islamic state could come to a agreement with a Islamic state near to it. It's on Quran as I heard.

So could somebody please explain more about it. What are the conditions that both Islamic state and non-Islamic sate contribute together to peace between each two.


Tnx in advance.