\documentclass{article}
\usepackage{amsthm}

\usepackage{xepersian}

\theoremstyle{plain}
\newtheorem*{theorem*}{قضیه}
\newtheorem{theorem}{قضیه}

\begin{document}
\begin{theorem} 
متن نمونه
\end{theorem}
\begin{theorem*} 
متن نمونه
\end{theorem*}
\end{document}