You need to add OpenType feature called glyph substitution to your font. FontCreator doesn’t support that yet, so you will have to use a third-party program. I don’t understand how Arabic fonts should be designed, but I suspect you need to add aTerminal Forms feature for this.