\documentclass{book}
%%%%%%%%%%%%%%%%%





\usepackage{xepersian}
\newcounter{ali}[section]
\newcommand{\she}[1]{\refstepcounter{ali}
\label{#1}{\scriptsize\mbox{
شکل
}}\ref{#1}}
\newcounter{alii}[section]
\newcommand{\sho}[1]{\refstepcounter{alii}
\label{#1}\ref{#1}}
\begin{document}
من با 
\she{fit}
و 
\she{secd}
شروع کردم و از 
دارم از شکل 
\ref{fit}
کمک می گیرم

\end{document}
