To configure your keyboard in Arabic, follow the steps below:
Open your phone's "Settings" app.
Go to Languages & input.
Under "Keyboard and Input" methods, select Arabic keyboard as your choice.