For Computer-Based Test, you will know the result after several 'loooong' seconds upon completion of the exam. You are allowed to pray to your God during this time.
In short, you'll get the result on your screen immediately after you complete the exam.
Prometric test center will give you an "official" sealed copy (computer print-out) of your score report before you leave the test center.
For Paper-Based Test, it will take a few weeks before you get the result.