Through command line, am setting firewall rules using iptable binary like below:
iptables -I PRIO_IN -p tcp -s "10.0.0.25/24" -d "10.0.0.26/24" -j ACCEPT
For above rule, now I need to add source uid.
In Iptables man page, am not seeing any option by name source uid
I'm thinking you're looking for the "owner" module for iptables. You'll find documentation under iptables-extensions (man iptables-extensions). (See here - https://ipset.netfilter.org/iptables-extensions.man.html#lbBP)
Note that it's only applicable on OUTPUT and POSTROUTING chains.
Good Luck!