What is this????

Okay so i gave my 6 month old a bath. I went to get him some pajamas and I laid the pajamas down on the couch and went to get him and then I noticed this sandy type stuff on the couch so i thought maybe those pajamas didn’t get washed very well? I went and grabbed another pair out of the same basket, laid them down.. same problem. So I told myself I’ll just rewash that whole load of clothes, went to his closet and got a pair out that had been in there for a while and was washed probably 2+ months ago. Went to put them on him, THERE IT WAS AGAIN. I cannot for the life of me figure out what it is? Other than possibly laundry detergent that didn’t wash out and just dried up and got flakey in his pajamas??? I’m just so confused and I’m hoping one of you can help me!