\documentclass{book}

\usepackage{xcolor, colortbl, setspace, amssymb}
\usepackage[thmmarks, framed]{ntheorem}
\usepackage{xepersian}\settextfont{XB Niloofar}
\SepMark{-}


\makeatletter
\newtheoremstyle{pointsty}
{\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
{\renewcommand{\arrayrulewidth}{2pt}%
\arrayrulecolor{red}%
\begin{tabular}{@{} c @{}}
\hline
\color{red}\large\bfseries ##1\ ##2
\end{tabular}
}
\theorem@separator}\hbox{\strut}}}]}%
%{\item[\rlap{\vbox{\hbox{\hskip\labelsep \theorem@headerfont
%{\renewcommand{\arrayrulewidth}{2pt}%
%\arrayrulecolor{red}%
%\begin{tabular}{@{} c @{}}
%\hline
%\color{red}\large\bfseries ##1\ ##2
%\end{tabular}
%}
%(##3)\theorem@separator}\hbox{\strut}}}]}
\makeatother

\theoremstyle{pointsty}
%\theoremheaderfont{\large\bfseries}
\theorembodyfont{\rm}
\theoremsymbol{{\color{red}\ensuremath{\blacksquare}}}
\newtheorem{point}{نکته}[chapter]


%\theoremstyle{plain}
%\theoremheaderfont{\large\bfseries\color{red}}
%\theorembodyfont{\rm}
%\theoremseparator{}
%%\theorempostwork{\hrule\bigskip}
%\theoremsymbol{{\color{red}\ensuremath{\blacksquare}}}
%\newtheorem{point}{نکته}[chapter]
%\newlength{\cwidth}
%\newcommand{\autowidth}[1]{%
%  \settowidth{\cwidth}{#1}%
%  \textcolor{red}{\rule{\cwidth}{2pt}}
%}
%\let\oldpoint=\point
%\let\endoldpoint=\endpoint
%\renewenvironment{point}{%
%\par\noindent\autowidth{\large\bfseries نکته \thepoint}\oldpoint%
%\leavevmode\par\bigskip\noindent\ignorespaces}
%{\endoldpoint}


\begin{document}
\setstretch{1.4}
\chapter{مقدمه}
\begin{point}\label{p1}%
فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن  فقط متن. فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن  فقط متن. فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن فقط متن.
\end{point}

\begin{point}
متن و فرمول متن و فرمول متن و فرمول متن و فرمول متن و فرمول متن و فرمول متن و فرمول متن و فرمول متن و فرمول متن و فرمول :
\[ a=b \]
\end{point}

\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\begin{point}\end{point}
\end{document}